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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

63 lines
980 B
Nix
Raw Normal View History

{ lib
, attrs
, buildPythonPackage
, docutils
, fetchPypi
, od
, pygments
2020-12-14 02:11:30 +00:00
, pytestCheckHook
, pythonOlder
, python-dateutil
, repeated-test
, setuptools-scm
, sigtools
}:
buildPythonPackage rec {
pname = "clize";
version = "5.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/cFpEvAN/Movd38xaE53Y+D9EYg/SFyHeqtlVUo1D0I=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
attrs
docutils
od
sigtools
];
passthru.optional-dependencies = {
datetime = [
python-dateutil
];
};
nativeCheckInputs = [
2020-12-14 02:11:30 +00:00
pytestCheckHook
python-dateutil
pygments
repeated-test
];
2019-12-22 23:39:00 +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; [ ];
};
}