Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 821 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, numpy 5, uproot-methods 6, awkward 7, cachetools 8, pythonOlder 9, pytestrunner 10, pytest 11, pkgconfig 12, lz4 13, mock 14, requests 15, backports_lzma 16}: 17 18buildPythonPackage rec { 19 pname = "uproot"; 20 version = "3.4.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 sha256 = "1fafe476c26252e4dbd399456323778e76d23dc2f43cf6581a707d1647978610"; 25 }; 26 27 nativeBuildInputs = [ pytestrunner ]; 28 checkInputs = [ pytest pkgconfig lz4 mock requests ] 29 ++ lib.optionals (pythonOlder "3.3") [ backports_lzma ]; 30 propagatedBuildInputs = [ numpy cachetools uproot-methods awkward ]; 31 32 meta = with lib; { 33 homepage = https://github.com/scikit-hep/uproot; 34 description = "ROOT I/O in pure Python and Numpy"; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ ktf ]; 37 }; 38}