depot/third_party/nixpkgs/pkgs/development/python-modules/pudb/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

52 lines
936 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
jedi,
pygments,
urwid,
urwid-readline,
pytest-mock,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pudb";
version = "2024.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-/J1ql2pZtZB2TIN57CAP7NR/qoQlm2Tv2M2GBmoK8zg=";
};
propagatedBuildInputs = [
jedi
pygments
urwid
urwid-readline
];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
];
preCheck = ''
export HOME=$TMPDIR
'';
pythonImportsCheck = [ "pudb" ];
meta = with lib; {
description = "A full-screen, console-based Python debugger";
mainProgram = "pudb";
homepage = "https://github.com/inducer/pudb";
changelog = "https://github.com/inducer/pudb/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}