tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.fastjet: init
Dmitry Kalinkin
4 years ago
76f50735
249cc6f9
+13
-4
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
physics
fastjet
default.nix
top-level
python-packages.nix
+8
-4
pkgs/development/libraries/physics/fastjet/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, python2 }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchurl
4
4
+
, python
5
5
+
, withPython ? false
6
6
+
}:
2
7
3
8
stdenv.mkDerivation rec {
4
9
pname = "fastjet";
···
9
14
hash = "sha256-7gfIdHyOrYbYjeSp5OjR6efXYUlz9WMbqCl/egJHi5E=";
10
15
};
11
16
12
12
-
buildInputs = [ python2 ];
17
17
+
buildInputs = lib.optional withPython python;
13
18
14
19
configureFlags = [
15
20
"--enable-allcxxplugins"
16
16
-
"--enable-pyext"
17
17
-
];
21
21
+
] ++ lib.optional withPython "--enable-pyext";
18
22
19
23
enableParallelBuilding = true;
20
24
+5
pkgs/top-level/python-packages.nix
···
2502
2502
2503
2503
fastimport = callPackage ../development/python-modules/fastimport { };
2504
2504
2505
2505
+
fastjet = toPythonModule (pkgs.fastjet.override {
2506
2506
+
withPython = true;
2507
2507
+
inherit python;
2508
2508
+
});
2509
2509
+
2505
2510
fastjsonschema = callPackage ../development/python-modules/fastjsonschema { };
2506
2511
2507
2512
fastnlo_toolkit = toPythonModule (pkgs.fastnlo_toolkit.override {