2020-12-07 13:04:28 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, isPy27
|
|
|
|
, awkward0, backports_lzma, cachetools, lz4, pandas
|
|
|
|
, pytestCheckHook, pytestrunner, pkgconfig, mock
|
|
|
|
, numpy, requests, uproot3-methods, xxhash, zstandard
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uproot3";
|
2021-01-10 10:04:55 +00:00
|
|
|
version = "3.14.2";
|
2020-12-07 13:04:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scikit-hep";
|
|
|
|
repo = "uproot3";
|
|
|
|
rev = version;
|
2021-01-10 10:04:55 +00:00
|
|
|
sha256 = "sha256-6/e+qMgwyFUo8MRRTAaGp9WLPxE2fqMEK4paq26Epzc=";
|
2020-12-07 13:04:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pytestrunner ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
awkward0
|
|
|
|
cachetools
|
|
|
|
lz4
|
|
|
|
numpy
|
|
|
|
uproot3-methods
|
|
|
|
xxhash
|
|
|
|
zstandard
|
|
|
|
] ++ lib.optional isPy27 backports_lzma;
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pandas
|
|
|
|
pkgconfig
|
|
|
|
pytestCheckHook
|
|
|
|
requests
|
|
|
|
] ++ lib.optional isPy27 backports_lzma;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/scikit-hep/uproot3";
|
|
|
|
description = "ROOT I/O in pure Python and Numpy";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ktf SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|