a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
52 lines
906 B
Nix
52 lines
906 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jedi
|
|
, pygments
|
|
, urwid
|
|
, urwid-readline
|
|
, pytest-mock
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pudb";
|
|
version = "2022.1.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WOg62p4Z/+ksH9x4rlRY75GuuJKluPDnN55vph4OZko=";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://github.com/inducer/pudb";
|
|
changelog = "https://github.com/inducer/pudb/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|