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:
24
pkgs/firedrake/ufl.nix
Normal file
24
pkgs/firedrake/ufl.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ lib, fetchFromGitHub, pythonPackages }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
version = "8c17257d325f5f040ad1cb74b866956ad42427ca";
|
||||
name = "firedrake-ufl-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firedrakeproject";
|
||||
repo = "ufl";
|
||||
rev = "${version}";
|
||||
sha256 = "1ryjq5sknaw92z3zrrnfqcvkga3g071bgjf8j42acsh4iw4g6yg1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonPackages.numpy
|
||||
pythonPackages.six
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/firedrakeproject/ufl";
|
||||
description = "Copy of upstream UFL for use with Firedrake.";
|
||||
license = licenses.lgpl3;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user