Unverified Commit 32d8946c authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #222706 from sheepforce/polarisationsolver

polarizationsolver: set a pep compliant version string
parents b8d0be0f 98f89cf4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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