firedrake: Initial packaging
This commit is contained in:
38
firedrake/tsfc.nix
Normal file
38
firedrake/tsfc.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user