mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
pythonPackages.fastjet: init
This commit is contained in:
parent
249cc6f92f
commit
76f5073573
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue