2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 21:07:48 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-07-03 11:37:24 +00:00
|
|
|
, python-dateutil
|
2018-10-29 21:07:48 +00:00
|
|
|
, sigtools
|
2018-12-30 15:13:41 +00:00
|
|
|
, 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
|
2018-10-29 21:07:48 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "clize";
|
2021-08-10 08:49:10 +00:00
|
|
|
version = "4.2.0";
|
2018-10-29 21:07:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-10 08:49:10 +00:00
|
|
|
sha256 = "06p47i6hri006v7xbx7myj02as1a6f34rv88wfa9rb067p13nmyz";
|
2018-10-29 21:07:48 +00:00
|
|
|
};
|
|
|
|
|
2019-12-22 23:39:00 +00:00
|
|
|
checkInputs = [
|
2020-12-14 02:11:30 +00:00
|
|
|
pytestCheckHook
|
2021-07-03 11:37:24 +00:00
|
|
|
python-dateutil
|
2018-12-30 15:13:41 +00:00
|
|
|
pygments
|
|
|
|
repeated_test
|
|
|
|
unittest2
|
|
|
|
];
|
2019-12-22 23:39:00 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-12-30 15:13:41 +00:00
|
|
|
attrs
|
|
|
|
docutils
|
|
|
|
od
|
|
|
|
sigtools
|
|
|
|
six
|
|
|
|
];
|
2018-10-29 21:07:48 +00:00
|
|
|
|
2020-12-14 02:11:30 +00:00
|
|
|
pythonImportsCheck = [ "clize" ];
|
2019-12-22 23:39:00 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 21:07:48 +00:00
|
|
|
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; [ ];
|
2018-10-29 21:07:48 +00:00
|
|
|
};
|
|
|
|
}
|