diff --git a/pkgs/development/python-modules/scikit-fuzzy/default.nix b/pkgs/development/python-modules/scikit-fuzzy/default.nix index d184f566657e..d83e9044b9f0 100644 --- a/pkgs/development/python-modules/scikit-fuzzy/default.nix +++ b/pkgs/development/python-modules/scikit-fuzzy/default.nix @@ -8,12 +8,12 @@ networkx, numpy, scipy, - pytest7CheckHook, + pytestCheckHook, }: -buildPythonPackage { +buildPythonPackage rec { pname = "scikit-fuzzy"; - version = "0.4.2-unstable-2023-09-14"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,13 +21,13 @@ buildPythonPackage { src = fetchFromGitHub { owner = "scikit-fuzzy"; repo = "scikit-fuzzy"; - rev = "d7551b649f34c2f5e98836e9b502279226d3b225"; - hash = "sha256-91Udm2dIaIwTVG6V1EqYA/4qryuS4APgaa7tIa3sSQE="; + tag = "v${version}"; + hash = "sha256-02aIYBdbQXQD9S1R/gZZeKTn5LxloE0GGGRttxJnR/o="; }; build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ networkx numpy scipy @@ -35,7 +35,7 @@ buildPythonPackage { nativeCheckInputs = [ matplotlib - pytest7CheckHook + pytestCheckHook ]; preCheck = "rm -rf build"; @@ -45,6 +45,7 @@ buildPythonPackage { meta = with lib; { homepage = "https://github.com/scikit-fuzzy/scikit-fuzzy"; description = "Fuzzy logic toolkit for scientific Python"; + changelog = "https://github.com/scikit-fuzzy/scikit-fuzzy/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = [ maintainers.bcdarwin ]; };