git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #142921 from veprbl/pr/pyjet_1_8_2

python3Packages.pyjet: 1.6.0 -> 1.8.2

commitaee0764296e3851d48e1d447518ec2d7a4ee055d authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateWed 27 Oct 2021, 21:35 (5 years ago) parent14d3b5f28e96b4
1 file changed+4−11
pkgs/development/python-modules/pyjet/default.nix+4−11
pkgs/development/python-modules/pyjet/default.nix+4−11
@@ -2,26 +2,19 @@
22
33buildPythonPackage rec {
44 pname = "pyjet";
5− version = "1.6.0";
5+ version = "1.8.2";
66
77 # tests not included in pypi tarball
88 src = fetchFromGitHub {
99 owner = "scikit-hep";
1010 repo = pname;
1111 rev = version;
12− sha256 = "0b68jnbfk2rw9i1nnwsrbrbgkj7r0w1nw0i9f8fah1wmn78k9csv";
12+ sha256 = "sha256-0EI/dbanVDvILawnnK/Ce/5n/cD4Fv7VQEZfF9yPQio=";
1313 };
1414
15− # fix for python37
16− # https://github.com/scikit-hep/pyjet/issues/8
1715 nativeBuildInputs = [ cython ];
18− preBuild = ''
19− for f in pyjet/src/*.{pyx,pxd}; do
20− cython --cplus "$f"
21− done
22− '';
23−
2416 propagatedBuildInputs = [ numpy ];
17+
2518 checkInputs = [ pytest ];
2619 checkPhase = ''
2720 mv pyjet _pyjet
@@ -31,7 +24,7 @@ buildPythonPackage rec {
3124 meta = with lib; {
3225 homepage = "https://github.com/scikit-hep/pyjet";
3326 description = "The interface between FastJet and NumPy";
34− license = licenses.gpl3;
27+ license = licenses.gpl2Plus;
3528 maintainers = with maintainers; [ veprbl ];
3629 };
3730}