a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
44 lines
1,008 B
Nix
44 lines
1,008 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, isPy27
|
|
, awkward0, backports_lzma, cachetools, lz4, pandas
|
|
, pytestCheckHook, pytestrunner, pkgconfig, mock
|
|
, numpy, requests, uproot3-methods, xxhash, zstandard
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "uproot3";
|
|
version = "3.14.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scikit-hep";
|
|
repo = "uproot3";
|
|
rev = version;
|
|
sha256 = "sha256-6/e+qMgwyFUo8MRRTAaGp9WLPxE2fqMEK4paq26Epzc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|