firedrake: Initial packaging
This commit is contained in:
30
firedrake/finat.nix
Normal file
30
firedrake/finat.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user