16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
26 rev = "refs/tags/v${version}";
27 hash = "sha256-Te4D2tHVD5fD8DH2njjQMGnTUvLQdcGBzApklnGn6g8=";
30 propagatedBuildInputs = [
37 ] ++ lib.optionals (pythonOlder "3.8") [
47 export HOME="$(mktemp -d)"
51 # Tests that try to download files
55 "test_pickle_roundtrip_http"
59 # Tests that try to download files
60 "tests/test_0066-fix-http-fallback-freeze.py"
61 "tests/test_0088-read-with-http.py"
62 "tests/test_0220-contiguous-byte-ranges-in-http.py"
65 pythonImportsCheck = [
70 description = "ROOT I/O in pure Python and Numpy";
71 homepage = "https://github.com/scikit-hep/uproot5";
72 changelog = "https://github.com/scikit-hep/uproot5/releases/tag/v${version}";
73 license = licenses.bsd3;
74 maintainers = with maintainers; [ veprbl ];