nixpkgs/pkgs/development/python-modules/uproot/default.nix
R. RyanTM 4b7a7d9c32 python36Packages.uproot: 3.2.6 -> 3.2.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-uproot/versions
2018-11-18 03:48:12 -08:00

36 lines
764 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, numpy
, python-lz4
, uproot-methods
, awkward
, cachetools
, pythonOlder
, pytestrunner
, pytest
, backports_lzma
}:
buildPythonPackage rec {
pname = "uproot";
version = "3.2.12";
src = fetchPypi {
inherit pname version;
sha256 = "0jxsv0038glxz87skjxr58fafwyqilivkrygpvk4nkp866i5kz2k";
};
buildInputs = [ pytestrunner ];
checkInputs = [ pytest ]
++ lib.optionals (pythonOlder "3.3") [ backports_lzma ];
propagatedBuildInputs = [ numpy python-lz4 cachetools uproot-methods awkward ];
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 ];
};
}