summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2023-03-23 13:00:21 +0100
committerGitHub <noreply@github.com>2023-03-23 13:00:21 +0100
commit32d8946c86d0fb459bcfd4fca2593417d3a54d4c (patch)
tree2aae221e989dd61a7d1c0e3b90e1026b5e96aefd
parentMerge pull request #219995 from xanderio/outline-0.68.1 (diff)
parentpolarizationsolver: set a pep compliant version string (diff)
downloadnixpkgs-32d8946c86d0fb459bcfd4fca2593417d3a54d4c.tar.gz
Merge pull request #222706 from sheepforce/polarisationsolver
polarizationsolver: set a pep compliant version string
-rw-r--r--pkgs/development/python-modules/polarizationsolver/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/polarizationsolver/default.nix b/pkgs/development/python-modules/polarizationsolver/default.nix
index 363dcdc4908b..d7385bd9f642 100644
--- a/pkgs/development/python-modules/polarizationsolver/default.nix
+++ b/pkgs/development/python-modules/polarizationsolver/default.nix
@@ -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