firedrake: Moved to new overlay system and shared sub-scope

Firedrake contains a ton of inter-connected dependencies, many of
which are either firedrake specific or forked versions of upstream
packages.  Cleaner to create a firedrake sub-scope for all these.
This commit is contained in:
Tyson Whitehead
2018-01-18 00:17:48 -05:00
parent d4dd6ff700
commit 8dda256fad
28 changed files with 373 additions and 372 deletions

25
pkgs/firedrake/finat.nix Normal file
View File

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