python.pkgs.uproot: fix build

This commit is contained in:
Robert Schütz 2019-01-17 22:18:08 +01:00 committed by Frederik Rietdijk
parent 6c3b30c331
commit fb7fdac81b

View file

@ -2,13 +2,14 @@
, fetchPypi
, buildPythonPackage
, numpy
, python-lz4
, uproot-methods
, awkward
, cachetools
, pythonOlder
, pytestrunner
, pytest
, pkgconfig
, lz4
, backports_lzma
}:
@ -22,9 +23,9 @@ buildPythonPackage rec {
};
buildInputs = [ pytestrunner ];
checkInputs = [ pytest ]
checkInputs = [ pytest pkgconfig lz4 ]
++ lib.optionals (pythonOlder "3.3") [ backports_lzma ];
propagatedBuildInputs = [ numpy python-lz4 cachetools uproot-methods awkward ];
propagatedBuildInputs = [ numpy cachetools uproot-methods awkward ];
meta = with lib; {
homepage = https://github.com/scikit-hep/uproot;