Files
ccpkgs/firedrake/tsfc.nix
2017-05-01 20:09:09 -04:00

39 lines
848 B
Nix

with import <nixpkgs> {};
let
coffee = import ./coffee.nix;
ufl = import ./ufl.nix;
fiat = import ./fiat.nix;
finat = import ./finat.nix;
in
python27Packages.buildPythonPackage rec {
version = "ee5670ab1ad90aaf8f550de01255c6752583255d";
name = "firedrake-tsfc-${version}";
src = fetchFromGitHub {
owner = "firedrakeproject";
repo = "tsfc";
rev = "${version}";
sha256 = "07v5v1nhcywn2rpdr0380ck120ppzlvpfknmjh1rss6xkzf2s9lf";
};
propagatedBuildInputs = [
python27Packages.numpy
python27Packages.singledispatch
python27Packages.six
coffee
ufl
fiat
finat
];
meta = {
homepage = "https://github.com/firedrakeproject/tsfc";
description = "Form compiler for the Firedrake project.";
license = licenses.gpl3;
};
}