depot/third_party/nixpkgs/pkgs/development/python-modules/pudb/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

53 lines
930 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; [ ];
};
}