firedrake: Initial packaging

This commit is contained in:
Tyson Whitehead
2017-05-01 20:09:09 -04:00
parent e0577fa54e
commit a2f7eda6de
18 changed files with 607 additions and 0 deletions

30
firedrake/finat.nix Normal file
View File

@@ -0,0 +1,30 @@
with import <nixpkgs> {};
let
fiat = import ./fiat.nix;
in
python27Packages.buildPythonPackage rec {
version = "fecac5b4d4ecf4b02b1ee440bdc4a57bfa9f1d87";
name = "FInAT-${version}";
src = fetchFromGitHub {
owner = "FInAT";
repo = "FInAT";
rev = "${version}";
sha256 = "1ad7vzpvlwmx5pgmvj2v8s6n5kdrz02j7wzj25wn974a2ff6pvvd";
};
propagatedBuildInputs = [
python27Packages.numpy
fiat
];
meta = {
homepage = "https://github.com/FInAT/FInAT";
description = "FInAT is an attempt to provide a more abstract, smarter library of finite elements.";
license = licenses.mit;
};
}