python310Packages.treeo 0 -> 1 attrpath: python310Packages.treeo Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/2b91jvnpx9p53wmc3bba7vfkxc6hk4zn-packages.json.drv building '/nix/store/2b91jvnpx9p53wmc3bba7vfkxc6hk4zn-packages.json.drv'... Going to be running update for following packages: - python3.10-treeo-0.0.11 Press Enter key to continue... Running update for: - python3.10-treeo-0.0.11: UPDATING ... - python3.10-treeo-0.0.11: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/treeo/default.nix b/pkgs/development/python-modules/treeo/default.nix index 1560e1810ba6..789eb346e8c6 100644 --- a/pkgs/development/python-modules/treeo/default.nix +++ b/pkgs/development/python-modules/treeo/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { # Note that there is a version 0.4.0, but it was released in error. At the # time of writing (2022-03-29), v0.0.11 is the latest as reported on GitHub # and PyPI. - version = "0.0.11"; + version = "0.4.0"; format = "pyproject"; src = fetchFromGitHub { owner = "cgarciae"; repo = pname; - rev = version; - hash = "sha256-zs3F8i+G5OX/A9wOO60xVuvnm2QqrL+dHIrC0qwH37o="; + rev = "refs/tags/${version}"; + hash = "sha256-0py7sKjq6WqdsZwTq61jqaIbULTfwtpz29TTpt8M2Zw="; }; # See https://github.com/cgarciae/treex/issues/68. No auto update branch exists Old version 0.0.11" not present in staging derivation file with contents: { buildPythonPackage , fetchFromGitHub , fetchpatch , jax , jaxlib , lib , poetry-core }: buildPythonPackage rec { pname = "treeo"; # Note that there is a version 0.4.0, but it was released in error. At the # time of writing (2022-03-29), v0.0.11 is the latest as reported on GitHub # and PyPI. version = "0.4.0"; format = "pyproject"; src = fetchFromGitHub { owner = "cgarciae"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-0py7sKjq6WqdsZwTq61jqaIbULTfwtpz29TTpt8M2Zw="; }; # See https://github.com/cgarciae/treex/issues/68. patches = [ (fetchpatch { url = "https://github.com/cgarciae/treeo/pull/14/commits/022915da2b3bf76406a7c79d1b4593bee7956f16.patch"; hash = "sha256-WGxJqqrf2g0yZe30RyG1xxbloiqj1awuf1Y4eh5y+z0="; }) (fetchpatch { url = "https://github.com/cgarciae/treeo/pull/14/commits/99f9488bd0c977780844fd79743167b0010d359b.patch"; hash = "sha256-oKDYs+Ah0QXkhiJysIudQ6VLIiUiIcnQisxYp6GJuTc="; }) ]; nativeBuildInputs = [ poetry-core ]; # jax is not declared in the dependencies, but is necessary. propagatedBuildInputs = [ jax ]; nativeCheckInputs = [ jaxlib ]; pythonImportsCheck = [ "treeo" ]; meta = with lib; { description = "A small library for creating and manipulating custom JAX Pytree classes."; homepage = "https://github.com/cgarciae/treeo"; license = licenses.mit; maintainers = with maintainers; [ ndl ]; # obsolete as of 2023-02-27 and not updated for more than a year as of 2023-08 broken = true; }; }