pythonPackages.fipy: 3.3 -> 3.4.1
This commit is contained in:
parent
2346014aae
commit
f77e60466f
@ -14,6 +14,8 @@
|
|||||||
, gmsh
|
, gmsh
|
||||||
, python
|
, python
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, openssh
|
||||||
|
, fetchurl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -21,12 +23,11 @@ let
|
|||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fipy";
|
pname = "fipy";
|
||||||
version = "3.3";
|
version = "3.4.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchurl {
|
||||||
pname = "FiPy";
|
url = "https://github.com/usnistgov/fipy/releases/download/${version}/FiPy-${version}.tar.gz";
|
||||||
inherit version;
|
sha256 = "0078yg96fknqhywn1v26ryc5z47c0j0c1qwz6p8wsjn0wmzggaqk";
|
||||||
sha256 = "11agpg3d6yrns8igkpml1mxy3mkqkjq2yrw1mw12y07dkk12ii19";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -38,11 +39,13 @@ in
|
|||||||
mpi4py
|
mpi4py
|
||||||
future
|
future
|
||||||
scikit-fmm
|
scikit-fmm
|
||||||
|
openssh
|
||||||
] ++ lib.optionals isPy27 [ pysparse ] ++ not_darwin_inputs;
|
] ++ lib.optionals isPy27 [ pysparse ] ++ not_darwin_inputs;
|
||||||
|
|
||||||
checkInputs = not_darwin_inputs;
|
checkInputs = not_darwin_inputs;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export OMPI_MCA_plm_rsh_agent=${openssh}/bin/ssh
|
||||||
${python.interpreter} setup.py test --modules
|
${python.interpreter} setup.py test --modules
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user