python3Packages.pandas: make src reproducible
This commit is contained in:
committed by
Martin Weinelt
parent
8fc19d25f3
commit
e9bb1dd3f3
@@ -70,6 +70,9 @@ let
|
||||
owner = "pandas-dev";
|
||||
repo = "pandas";
|
||||
tag = "v${version}";
|
||||
postFetch = ''
|
||||
sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pandas/_version.py
|
||||
'';
|
||||
hash = "sha256-G+pWdmft/kcxv97ySa+0ZFEgvMKuNaK33DseZQ8R1z8=";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user