58 lines
1.2 KiB
Nix
58 lines
1.2 KiB
Nix
with import <nixpkgs> {};
|
|
|
|
let
|
|
|
|
ufl = import ./ufl.nix;
|
|
fiat = import ./fiat.nix;
|
|
finat = import ./finat.nix;
|
|
tsfc = import ./tsfc.nix;
|
|
pyop2 = import ./pyop2.nix;
|
|
petsc = import ./petsc.nix;
|
|
petsc4py = import ./petsc4py.nix;
|
|
coffee = import ./coffee.nix;
|
|
|
|
in
|
|
|
|
python27Packages.buildPythonPackage rec {
|
|
version = "fe8a0b25040c785b32a859b58f5c8939de50f487";
|
|
name = "firedrake-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "firedrakeproject";
|
|
repo = "firedrake";
|
|
rev = "${version}";
|
|
sha256 = "1x1az48g5qjrgc1229hk7nd09d22m6sfnvhcc1kcki3h72rmqdfz";
|
|
};
|
|
|
|
buildInputs = [
|
|
openmpi
|
|
hdf5
|
|
libspatialindex
|
|
python27Packages.cython
|
|
python27Packages.pytest_29
|
|
python27Packages.pytest_xdist
|
|
python27Packages.pylint
|
|
petsc
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
python27Packages.h5py
|
|
python27Packages.six
|
|
python27Packages.sympy
|
|
python27Packages.psutil
|
|
python27Packages.cachetools
|
|
python27Packages.singledispatch
|
|
python27Packages.ipython
|
|
python27Packages.matplotlib
|
|
ufl
|
|
fiat
|
|
finat
|
|
tsfc
|
|
pyop2
|
|
petsc4py
|
|
coffee
|
|
];
|
|
|
|
patches = [ ./firedrake-setup.patch ];
|
|
}
|