3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/awkward/default.nix
2020-08-16 19:30:50 +02:00

35 lines
703 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, pytestrunner
, pytest
, h5py
}:
buildPythonPackage rec {
pname = "awkward";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "1a461ee084ea5e98333dacf2506e9b2619ee89cece14b9b99830b546b35c5922";
};
nativeBuildInputs = [ pytestrunner ];
checkInputs = [ pandas pytest h5py ];
propagatedBuildInputs = [ numpy ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
homepage = "https://github.com/scikit-hep/awkward-array";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}