forked from mirrors/nixpkgs
pythonPackage.mpi4py: add patch for openmpi 4.1.0
This commit is contained in:
parent
a2b6c7b042
commit
153ff6aacf
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchPypi, python, buildPythonPackage, mpi, openssh }:
|
||||
{ lib, fetchPypi, fetchpatch, python, buildPythonPackage, mpi, openssh }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mpi4py";
|
||||
|
@ -9,6 +9,12 @@ buildPythonPackage rec {
|
|||
sha256 = "012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f";
|
||||
};
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
name = "disable-broken-test"; # upstream patch
|
||||
url = "https://github.com/mpi4py/mpi4py/commit/e13cc3ee59ec6ec2c6ee20e384e1e649d5027e8a.patch";
|
||||
sha256 = "0iwknrhxnfmsqjj8ahpn50c8pcdyv9p3wmcqi1jhr4i5y7lnmvvx";
|
||||
})];
|
||||
|
||||
passthru = {
|
||||
inherit mpi;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue