mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
polarizationsolver: set a pep compliant version string
This commit is contained in:
parent
4fabf060fa
commit
98f89cf43c
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,12 @@ buildPythonPackage rec {
|
|||
hash = "sha256-LACf8Xw+o/uJ3+PD/DE/o7nwKY7fv3NyYbpjCrTTnBU=";
|
||||
};
|
||||
|
||||
# setup.py states version="dev", which is not a valid version string for setuptools
|
||||
# There has never been a formal stable release, so let's say 0.0 here.
|
||||
postPatch = ''
|
||||
substituteInPlace ./setup.py --replace 'version="dev",' 'version="0.0",'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
periodictable
|
||||
|
|
Loading…
Reference in a new issue