pythonPackages.fipy: init at 3.3
This commit is contained in:
parent
ad5c48a094
commit
92e1376cc3
55
pkgs/development/python-modules/fipy/default.nix
Normal file
55
pkgs/development/python-modules/fipy/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, scipy
|
||||
, pyamg
|
||||
, pysparse
|
||||
, future
|
||||
, matplotlib
|
||||
, tkinter
|
||||
, mpi4py
|
||||
, scikit-fmm
|
||||
, isPy27
|
||||
, gmsh
|
||||
, python
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
let
|
||||
not_darwin_inputs = lib.optionals (! stdenv.isDarwin) [ gmsh ];
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "fipy";
|
||||
version = "3.3";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "FiPy";
|
||||
inherit version;
|
||||
sha256 = "11agpg3d6yrns8igkpml1mxy3mkqkjq2yrw1mw12y07dkk12ii19";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
scipy
|
||||
pyamg
|
||||
matplotlib
|
||||
tkinter
|
||||
mpi4py
|
||||
future
|
||||
scikit-fmm
|
||||
] ++ lib.optionals isPy27 [ pysparse ] ++ not_darwin_inputs;
|
||||
|
||||
checkInputs = not_darwin_inputs;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} setup.py test --modules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://www.ctcms.nist.gov/fipy/;
|
||||
description = "A Finite Volume PDE Solver Using Python";
|
||||
license = licenses.free;
|
||||
maintainers = with maintainers; [ costrouc wd15 ];
|
||||
};
|
||||
}
|
@ -4009,6 +4009,8 @@ in {
|
||||
|
||||
fixtures = callPackage ../development/python-modules/fixtures { };
|
||||
|
||||
fipy = callPackage ../development/python-modules/fipy { };
|
||||
|
||||
pelican = callPackage ../development/python-modules/pelican {
|
||||
inherit (pkgs) glibcLocales git;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user