Skip to content

Commit

Permalink
python312Packages.clize: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Aug 11, 2024
1 parent 109351e commit f28c825
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pkgs/development/python-modules/clize/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
fetchPypi,
od,
pygments,
pytestCheckHook,
pythonOlder,
python-dateutil,
pythonOlder,
repeated-test,
setuptools-scm,
sigtools,
unittestCheckHook,
}:

buildPythonPackage rec {
pname = "clize";
version = "5.0.2";
format = "pyproject";
pyproject = true;

disabled = pythonOlder "3.7";

Expand All @@ -26,23 +26,23 @@ buildPythonPackage rec {
hash = "sha256-BH9aRHNgJxirG4VnKn4VMDOHF41agcJ13EKd+sHstRA=";
};

nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];

propagatedBuildInputs = [
dependencies = [
attrs
docutils
od
sigtools
];

passthru.optional-dependencies = {
optional-dependencies = {
datetime = [ python-dateutil ];
};

nativeCheckInputs = [
pytestCheckHook
python-dateutil
pygments
unittestCheckHook
python-dateutil
repeated-test
];

Expand All @@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
changelog = "https://github.com/epsy/clize/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
};
Expand Down

0 comments on commit f28c825

Please sign in to comment.