Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
878 B · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchPypi, pythonOlder, decorator, ipython, isPyPy, exceptiongroup, tomli, setuptools, unittestCheckHook}:
buildPythonPackage rec { pname = "ipdb"; version = "0.13.13"; format = "pyproject";
disabled = isPyPy; # setupterm: could not find terminfo database
src = fetchPypi { inherit pname version; hash = "sha256-46xgGO8FEm1EKvaAqthjAG7BnQIpBWGsiLixwLDPxyY="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ ipython decorator ] ++ lib.optionals (pythonOlder "3.11") [ exceptiongroup tomli ];
nativeCheckInputs = [ unittestCheckHook ];
preCheck = '' export HOME=$(mktemp -d) '';
meta = with lib; { homepage = "https://github.com/gotcha/ipdb"; description = "IPython-enabled pdb"; license = licenses.bsd0; maintainers = [ ]; };
}