Merge pull request #62740 from risicle/ris-spglib-assert-fix
pythonPackages.spglib: add patch fixing darwin/py27 build
This commit is contained in:
commit
8ca59e0a39
1 changed files with 10 additions and 1 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue