depot/third_party/nixpkgs/pkgs/development/python-modules/clize/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

57 lines
973 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; [ ];
};
}