diff --git a/pkgs/development/python-modules/pyjet/default.nix b/pkgs/development/python-modules/pyjet/default.nix index abf4beaada0d..90eea80ae3d9 100644 --- a/pkgs/development/python-modules/pyjet/default.nix +++ b/pkgs/development/python-modules/pyjet/default.nix @@ -2,26 +2,19 @@ buildPythonPackage rec { pname = "pyjet"; - version = "1.6.0"; + version = "1.8.2"; # tests not included in pypi tarball src = fetchFromGitHub { owner = "scikit-hep"; repo = pname; rev = version; - sha256 = "0b68jnbfk2rw9i1nnwsrbrbgkj7r0w1nw0i9f8fah1wmn78k9csv"; + sha256 = "sha256-0EI/dbanVDvILawnnK/Ce/5n/cD4Fv7VQEZfF9yPQio="; }; - # fix for python37 - # https://github.com/scikit-hep/pyjet/issues/8 nativeBuildInputs = [ cython ]; - preBuild = '' - for f in pyjet/src/*.{pyx,pxd}; do - cython --cplus "$f" - done - ''; - propagatedBuildInputs = [ numpy ]; + checkInputs = [ pytest ]; checkPhase = '' mv pyjet _pyjet @@ -31,7 +24,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/scikit-hep/pyjet"; description = "The interface between FastJet and NumPy"; - license = licenses.gpl3; + license = licenses.gpl2Plus; maintainers = with maintainers; [ veprbl ]; }; }