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
|
|
|
|
, 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-11-14 13:25:39 +00:00
|
|
|
version = "4.2.1";
|
2018-10-29 21:07:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-14 13:25:39 +00:00
|
|
|
sha256 = "3177a028e4169d8865c79af82bdd441b24311d4bd9c0ae8803641882d340a51d";
|
2018-10-29 21:07:48 +00:00
|
|
|
};
|
|
|
|
|
2022-01-11 21:31:45 +00:00
|
|
|
# repeated_test no longer exists in nixpkgs
|
|
|
|
# also see: https://github.com/epsy/clize/issues/74
|
|
|
|
doCheck = false;
|
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
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|