python.pkgs.awkward: fix tests
pytest.importorskip() doesn't work when we don't use pytest to run tests
This commit is contained in:
parent
1c6a193b3e
commit
654e6ecc68
@ -16,12 +16,16 @@ buildPythonPackage rec {
|
|||||||
sha256 = "7016dc02d15b8797b59a461ccc8d218f37c335b97fa6b376638c0edd4ffc9de2";
|
sha256 = "7016dc02d15b8797b59a461ccc8d218f37c335b97fa6b376638c0edd4ffc9de2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytestrunner h5py ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest h5py ];
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy.";
|
description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
|
||||||
homepage = https://github.com/scikit-hep/awkward-array;
|
homepage = https://github.com/scikit-hep/awkward-array;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user