pythonPackages.fastjet: init

This commit is contained in:
Dmitry Kalinkin 2021-09-04 06:51:27 -04:00
parent 249cc6f92f
commit 76f5073573
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 13 additions and 4 deletions

View file

@ -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;

View file

@ -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 {