pythonPackages.uproot{,3}: 3.13.1 -> 3.14.1
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy27
|
||||
, awkward
|
||||
, backports_lzma
|
||||
, cachetools
|
||||
, lz4
|
||||
, pandas
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, pkgconfig
|
||||
, mock
|
||||
, numpy
|
||||
, requests
|
||||
, uproot-methods
|
||||
, xxhash
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uproot";
|
||||
version = "3.13.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "099b0b274dc000faf724df835579c76306e60200a5ba7b600a0c4b76dabbf344";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
checkInputs = [
|
||||
lz4
|
||||
mock
|
||||
pandas
|
||||
pkgconfig
|
||||
pytest
|
||||
requests
|
||||
xxhash
|
||||
] ++ lib.optional isPy27 backports_lzma;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
cachetools
|
||||
uproot-methods
|
||||
awkward
|
||||
];
|
||||
|
||||
# skip tests which do network calls
|
||||
# test_compression.py is missing zstandard package
|
||||
checkPhase = ''
|
||||
pytest tests -k 'not hist_in_tree \
|
||||
and not branch_auto_interpretation' \
|
||||
--ignore=tests/test_compression.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/scikit-hep/uproot";
|
||||
description = "ROOT I/O in pure Python and Numpy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ktf ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user