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

36 lines
720 B
Nix
Raw Normal View History

{ lib
2018-10-25 16:25:48 +01:00
, buildPythonPackage
, fetchPypi
, numpy
, pandas
, pyarrow
, pytestrunner
, pytest
, h5py
2018-10-25 16:25:48 +01:00
}:
buildPythonPackage rec {
pname = "awkward";
2019-12-19 19:31:05 +00:00
version = "0.12.18";
2018-10-25 16:25:48 +01:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:05 +00:00
sha256 = "9b3df4f2be92ac7d16709f15769c97591f25f0442061f1a4cc8715feb268e45c";
2018-10-25 16:25:48 +01:00
};
nativeBuildInputs = [ pytestrunner ];
checkInputs = [ pandas pyarrow 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";
2018-10-25 16:25:48 +01:00
homepage = https://github.com/scikit-hep/awkward-array;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}