diff --git a/pkgs/development/python-modules/jaraco_collections/default.nix b/pkgs/development/python-modules/jaraco_collections/default.nix index e60da3771297..07cc11ec92e6 100644 --- a/pkgs/development/python-modules/jaraco_collections/default.nix +++ b/pkgs/development/python-modules/jaraco_collections/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, setuptools , setuptools-scm , jaraco_classes , jaraco_text @@ -8,12 +9,12 @@ buildPythonPackage rec { pname = "jaraco.collections"; - version = "3.8.0"; + version = "4.3.0"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-VjBP1L1OuNWFzgys4KyAQYeRsUCFHjdIElQbCqJ8kdA="; + hash = "sha256-dP/CP8z+5N4KLr9VajNnW2o8AD1jNZR9MSKgvIgiyOQ="; }; postPatch = '' @@ -22,9 +23,12 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ + setuptools setuptools-scm ]; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + propagatedBuildInputs = [ jaraco_classes jaraco_text @@ -39,6 +43,7 @@ buildPythonPackage rec { meta = with lib; { description = "Models and classes to supplement the stdlib 'collections' module"; homepage = "https://github.com/jaraco/jaraco.collections"; + changelog = "https://github.com/jaraco/jaraco.collections/blob/v${version}/NEWS.rst"; license = licenses.mit; maintainers = with maintainers; [ ]; };