pythonPackages.uproot: 3.4.19 -> 3.7.0

This commit is contained in:
Jonathan Ringer 2019-06-18 17:25:40 -07:00
parent c786f67096
commit 3c2fc5fe45

View file

@ -1,33 +1,48 @@
{ lib { lib, fetchPypi, buildPythonPackage
, fetchPypi
, buildPythonPackage
, numpy
, uproot-methods
, awkward , awkward
, cachetools , cachetools
, pythonOlder , lz4
, pytestrunner , pytestrunner
, pytest , pytest
, pkgconfig , pkgconfig
, lz4
, mock , mock
, numpy
, requests , requests
, backports_lzma , uproot-methods
, xxhash
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "uproot"; pname = "uproot";
version = "3.4.19"; version = "3.7.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1df24d1f193b044cc4d6ef98e183a853655b568b7b15173d88b0d2a79e1226da"; sha256 = "0glsl57ha0d4pn5q318dmzml7crml1h8yilbhxh768wcs2030s1g";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytestrunner ];
checkInputs = [ pytest pkgconfig lz4 mock requests ]
++ lib.optionals (pythonOlder "3.3") [ backports_lzma ]; checkInputs = [
propagatedBuildInputs = [ numpy cachetools uproot-methods awkward ]; lz4
mock
pkgconfig
pytest
requests
xxhash
];
propagatedBuildInputs = [
numpy
cachetools
uproot-methods
awkward
];
# skip tests which do network calls
checkPhase = ''
pytest tests -k 'not hist_in_tree and not branch_auto_interpretation'
'';
meta = with lib; { meta = with lib; {
homepage = https://github.com/scikit-hep/uproot; homepage = https://github.com/scikit-hep/uproot;