pythonPackages.fastjet: init
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
{ lib, stdenv, fetchurl, python2 }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, python
|
||||
, withPython ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fastjet";
|
||||
@@ -9,12 +14,11 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-7gfIdHyOrYbYjeSp5OjR6efXYUlz9WMbqCl/egJHi5E=";
|
||||
};
|
||||
|
||||
buildInputs = [ python2 ];
|
||||
buildInputs = lib.optional withPython python;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-allcxxplugins"
|
||||
"--enable-pyext"
|
||||
];
|
||||
] ++ lib.optional withPython "--enable-pyext";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -2502,6 +2502,11 @@ in {
|
||||
|
||||
fastimport = callPackage ../development/python-modules/fastimport { };
|
||||
|
||||
fastjet = toPythonModule (pkgs.fastjet.override {
|
||||
withPython = true;
|
||||
inherit python;
|
||||
});
|
||||
|
||||
fastjsonschema = callPackage ../development/python-modules/fastjsonschema { };
|
||||
|
||||
fastnlo_toolkit = toPythonModule (pkgs.fastnlo_toolkit.override {
|
||||
|
||||
Reference in New Issue
Block a user