3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/awkward/default.nix

35 lines
704 B
Nix
Raw Normal View History

{ lib
2018-10-25 16:25:48 +01:00
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, pytestrunner
, pytest
, h5py
2018-10-25 16:25:48 +01:00
}:
buildPythonPackage rec {
pname = "awkward";
2020-07-31 09:56:35 +01:00
version = "0.12.22";
2018-10-25 16:25:48 +01:00
src = fetchPypi {
inherit pname version;
2020-07-31 09:56:35 +01:00
sha256 = "185d93588c4cc150b2426b2764cdf2370f1807c607c1b4b057c66b2a08720c43";
2018-10-25 16:25:48 +01:00
};
nativeBuildInputs = [ pytestrunner ];
checkInputs = [ pandas pytest h5py ];
2018-10-25 16:25:48 +01:00
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";
2018-10-25 16:25:48 +01:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}