depot/third_party/nixpkgs/pkgs/development/python-modules/clize/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

62 lines
980 B
Nix

{ lib
, attrs
, buildPythonPackage
, docutils
, fetchPypi
, od
, pygments
, pytestCheckHook
, pythonOlder
, python-dateutil
, repeated-test
, setuptools-scm
, sigtools
}:
buildPythonPackage rec {
pname = "clize";
version = "5.0.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BH9aRHNgJxirG4VnKn4VMDOHF41agcJ13EKd+sHstRA=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
attrs
docutils
od
sigtools
];
passthru.optional-dependencies = {
datetime = [
python-dateutil
];
};
nativeCheckInputs = [
pytestCheckHook
python-dateutil
pygments
repeated-test
];
pythonImportsCheck = [
"clize"
];
meta = with lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}