diff --git a/pkgs/development/python-modules/clize/default.nix b/pkgs/development/python-modules/clize/default.nix index fdd26fa0fd5e8..2de988250dbbc 100644 --- a/pkgs/development/python-modules/clize/default.nix +++ b/pkgs/development/python-modules/clize/default.nix @@ -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"; @@ -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 ]; @@ -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 = [ ]; };