depot/third_party/nixpkgs/pkgs/development/python-modules/clize/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

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