Merge pull request #62740 from risicle/ris-spglib-assert-fix

pythonPackages.spglib: add patch fixing darwin/py27 build
This commit is contained in:
Matthew Bauer 2019-06-09 17:56:41 -04:00 committed by GitHub
commit 8ca59e0a39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, pyyaml }:
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, numpy, nose, pyyaml }:
buildPythonPackage rec {
pname = "spglib";
@ -9,6 +9,15 @@ buildPythonPackage rec {
sha256 = "15b02b74c0f06179bc3650c43a710a5200abbba387c6eda3105bfd9236041443";
};
patches = [
(fetchpatch {
name = "fix-assertions.patch";
url = https://github.com/atztogo/spglib/commit/d57070831585a6f02dec0a31d25b375ba347798c.patch;
stripLen = 1;
sha256 = "0crmkc498rbrawiy9zbl39qis2nmsbfr4s6kk6k3zhdy8z2ppxw7";
})
];
propagatedBuildInputs = [ numpy ];
checkInputs = [ nose pyyaml ];