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