nixpkgs/pkgs/development/python-modules/clize/default.nix

50 lines
785 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, sigtools
, six
, attrs
, od
, docutils
, repeated_test
, pygments
2019-12-22 23:39:00 +00:00
, unittest2
2020-12-14 02:11:30 +00:00
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "clize";
2021-08-10 08:49:10 +00:00
version = "4.2.0";
src = fetchPypi {
inherit pname version;
2021-08-10 08:49:10 +00:00
sha256 = "06p47i6hri006v7xbx7myj02as1a6f34rv88wfa9rb067p13nmyz";
};
2019-12-22 23:39:00 +00:00
checkInputs = [
2020-12-14 02:11:30 +00:00
pytestCheckHook
python-dateutil
pygments
repeated_test
unittest2
];
2019-12-22 23:39:00 +00:00
propagatedBuildInputs = [
attrs
docutils
od
sigtools
six
];
2020-12-14 02:11:30 +00:00
pythonImportsCheck = [ "clize" ];
2019-12-22 23:39:00 +00:00
meta = with lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
license = licenses.mit;
2021-08-10 08:49:10 +00:00
maintainers = with maintainers; [ ];
};
}