mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 02:03:21 +00:00
python3Packages.pudb: add missing dependencies
This commit is contained in:
parent
3281194f48
commit
2f3e4c9d1c
@ -1,17 +1,22 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, dataclasses
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, jedi
|
||||
, pygments
|
||||
, urwid
|
||||
, urwid-readline
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pudb";
|
||||
version = "2021.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
@ -23,15 +28,22 @@ buildPythonPackage rec {
|
||||
jedi
|
||||
pygments
|
||||
urwid
|
||||
urwid-readline
|
||||
] ++ lib.optionals (pythonOlder "3.7") [
|
||||
dataclasses
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
pythonImportsCheck = [
|
||||
"pudb"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user