diff options
Diffstat (limited to 'pkgs/development/python-modules/optree/default.nix')
-rw-r--r-- | pkgs/development/python-modules/optree/default.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/optree/default.nix b/pkgs/development/python-modules/optree/default.nix index 27a057b24ddd8..c1f9085e5bea3 100644 --- a/pkgs/development/python-modules/optree/default.nix +++ b/pkgs/development/python-modules/optree/default.nix @@ -1,5 +1,4 @@ { - stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, @@ -13,16 +12,16 @@ buildPythonPackage rec { pname = "optree"; - version = "0.11.0"; + version = "0.12.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "metaopt"; - repo = pname; - rev = "v${version}"; - hash = "sha256-VnnnEoXkYJO+S7baH+JZvsW18Tk3TiY9+Cd230OlZWo="; + repo = "optree"; + rev = "refs/tags/v${version}"; + hash = "sha256-4GvB9Z7qnEjsUSl+x5wd8czV80F50MwJdlNdylUU0zY="; }; dontUseCmakeConfigure = true; @@ -45,11 +44,11 @@ buildPythonPackage rec { ]; pythonImportsCheck = [ "optree" ]; - meta = with lib; { - homepage = "https://github.com/metaopt/optree"; - changelog = "https://github.com/metaopt/optree/releases/tag/v${version}"; + meta = { description = "Optimized PyTree Utilities"; - maintainers = with maintainers; [ pandapip1 ]; - license = licenses.asl20; + homepage = "https://github.com/metaopt/optree"; + changelog = "https://github.com/metaopt/optree/releases"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ pandapip1 ]; }; } |