1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 14:52:34 +03:00
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
974 B
Nix
Raw Normal View History

{ lib
, attrs
, buildPythonPackage
, docutils
, fetchPypi
, od
, pygments
2020-12-14 03:11:30 +01: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
];
};
2019-12-22 15:39:00 -08:00
checkInputs = [
2020-12-14 03:11:30 +01:00
pytestCheckHook
python-dateutil
pygments
repeated-test
];
2019-12-22 15:39:00 -08:00
pythonImportsCheck = [
"clize"
];
2019-12-22 15:39:00 -08:00
meta = with lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
license = licenses.mit;
2021-08-10 10:49:10 +02:00
maintainers = with maintainers; [ ];
};
}