Loading pkgs/development/python-modules/numba/default.nix +4 −8 Original line number Diff line number Diff line Loading @@ -47,14 +47,10 @@ buildPythonPackage rec { # # - https://git-scm.com/docs/gitattributes#_export_subst and # - https://github.com/numba/numba/blame/5ef7c86f76a6e8cc90e9486487294e0c34024797/numba/_version.py#L25-L31 # # Hence this hash may change if GitHub / Git will change it's behavior. # Hopefully this will not happen until the next release. We are fairly sure # that upstream relies on those strings to be valid, that's why we don't # use `forceFetchGit = true;`.` If in the future we'll observe the hash # changes too often, we can always use forceFetchGit, and inject the # relevant strings ourselves, using `substituteInPlace`, in postFetch. hash = "sha256-4CaTJPaQduJqD0NQOPp1qsDr/BeCjbfZhulVW/x2ZAU="; postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/numba/_version.py ''; hash = "sha256-d09armWFI55fqyYCzZNVOq6f5b8BTk0s8fjU0OGrNgo="; }; postPatch = '' Loading pkgs/development/python-modules/pytensor/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,9 @@ buildPythonPackage rec { owner = "pymc-devs"; repo = "pytensor"; tag = "rel-${version}"; postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py ''; hash = "sha256-Iyiuvt86pfz8MmpwgDecKJFVOw+fKpEaA9m1MBA9Yxs="; }; Loading Loading
pkgs/development/python-modules/numba/default.nix +4 −8 Original line number Diff line number Diff line Loading @@ -47,14 +47,10 @@ buildPythonPackage rec { # # - https://git-scm.com/docs/gitattributes#_export_subst and # - https://github.com/numba/numba/blame/5ef7c86f76a6e8cc90e9486487294e0c34024797/numba/_version.py#L25-L31 # # Hence this hash may change if GitHub / Git will change it's behavior. # Hopefully this will not happen until the next release. We are fairly sure # that upstream relies on those strings to be valid, that's why we don't # use `forceFetchGit = true;`.` If in the future we'll observe the hash # changes too often, we can always use forceFetchGit, and inject the # relevant strings ourselves, using `substituteInPlace`, in postFetch. hash = "sha256-4CaTJPaQduJqD0NQOPp1qsDr/BeCjbfZhulVW/x2ZAU="; postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/numba/_version.py ''; hash = "sha256-d09armWFI55fqyYCzZNVOq6f5b8BTk0s8fjU0OGrNgo="; }; postPatch = '' Loading
pkgs/development/python-modules/pytensor/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,9 @@ buildPythonPackage rec { owner = "pymc-devs"; repo = "pytensor"; tag = "rel-${version}"; postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py ''; hash = "sha256-Iyiuvt86pfz8MmpwgDecKJFVOw+fKpEaA9m1MBA9Yxs="; }; Loading