pythonPackages.fipy: 3.4.1 -> 3.4.2.1 (#116567)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
ed062b86d8
commit
b3a18f4daf
@ -1,6 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, pyamg
|
, pyamg
|
||||||
@ -18,16 +17,13 @@
|
|||||||
, fetchurl
|
, fetchurl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
buildPythonPackage rec {
|
||||||
not_darwin_inputs = lib.optionals (! stdenv.isDarwin) [ gmsh ];
|
|
||||||
in
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "fipy";
|
pname = "fipy";
|
||||||
version = "3.4.1";
|
version = "3.4.2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/usnistgov/fipy/releases/download/${version}/FiPy-${version}.tar.gz";
|
url = "https://github.com/usnistgov/fipy/releases/download/${version}/FiPy-${version}.tar.gz";
|
||||||
sha256 = "0078yg96fknqhywn1v26ryc5z47c0j0c1qwz6p8wsjn0wmzggaqk";
|
sha256 = "0v5yk9b4hksy3176w4vm4gagb9kxqgv75zcyswlqvl371qwy1grk";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -40,9 +36,8 @@ in
|
|||||||
future
|
future
|
||||||
scikit-fmm
|
scikit-fmm
|
||||||
openssh
|
openssh
|
||||||
] ++ lib.optionals isPy27 [ pysparse ] ++ not_darwin_inputs;
|
] ++ lib.optionals isPy27 [ pysparse ]
|
||||||
|
++ lib.optionals (!stdenv.isDarwin) [ gmsh ];
|
||||||
checkInputs = not_darwin_inputs;
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export OMPI_MCA_plm_rsh_agent=${openssh}/bin/ssh
|
export OMPI_MCA_plm_rsh_agent=${openssh}/bin/ssh
|
||||||
@ -55,4 +50,4 @@ in
|
|||||||
license = licenses.free;
|
license = licenses.free;
|
||||||
maintainers = with maintainers; [ costrouc wd15 ];
|
maintainers = with maintainers; [ costrouc wd15 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user