Merge pull request #142921 from veprbl/pr/pyjet_1_8_2
python3Packages.pyjet: 1.6.0 -> 1.8.2
This commit is contained in:
commit
aee0764296
1 changed files with 4 additions and 11 deletions
|
@ -2,26 +2,19 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyjet";
|
pname = "pyjet";
|
||||||
version = "1.6.0";
|
version = "1.8.2";
|
||||||
|
|
||||||
# tests not included in pypi tarball
|
# tests not included in pypi tarball
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scikit-hep";
|
owner = "scikit-hep";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0b68jnbfk2rw9i1nnwsrbrbgkj7r0w1nw0i9f8fah1wmn78k9csv";
|
sha256 = "sha256-0EI/dbanVDvILawnnK/Ce/5n/cD4Fv7VQEZfF9yPQio=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# fix for python37
|
|
||||||
# https://github.com/scikit-hep/pyjet/issues/8
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [ cython ];
|
||||||
preBuild = ''
|
|
||||||
for f in pyjet/src/*.{pyx,pxd}; do
|
|
||||||
cython --cplus "$f"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
mv pyjet _pyjet
|
mv pyjet _pyjet
|
||||||
|
@ -31,7 +24,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/scikit-hep/pyjet";
|
homepage = "https://github.com/scikit-hep/pyjet";
|
||||||
description = "The interface between FastJet and NumPy";
|
description = "The interface between FastJet and NumPy";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ veprbl ];
|
maintainers = with maintainers; [ veprbl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue