{ lib, fetchPypi, buildPythonPackage , awkward , cachetools , lz4 , pytestrunner , pytest , pkgconfig , mock , numpy , requests , uproot-methods , xxhash }: buildPythonPackage rec { pname = "uproot"; version = "3.7.0"; src = fetchPypi { inherit pname version; sha256 = "0glsl57ha0d4pn5q318dmzml7crml1h8yilbhxh768wcs2030s1g"; }; nativeBuildInputs = [ pytestrunner ]; checkInputs = [ 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; { homepage = https://github.com/scikit-hep/uproot; description = "ROOT I/O in pure Python and Numpy"; license = licenses.bsd3; maintainers = with maintainers; [ ktf ]; }; }