forked from mirrors/nixpkgs
pythonPackages.awkward{,0}: 0.14.0 -> 0.15.1
This commit is contained in:
parent
f8f0db26fc
commit
7e9c3ff8ba
|
@ -1,34 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, h5py
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6a3878f46e8bc2acf28a0b9feb69d354ad2fee2a2a0f65c48c115aa74f245204";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
39
pkgs/development/python-modules/awkward0/default.nix
Normal file
39
pkgs/development/python-modules/awkward0/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestrunner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward0";
|
||||
version = "0.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-hep";
|
||||
repo = "awkward-0.x";
|
||||
rev = version;
|
||||
sha256 = "17zrw25h6g5m4ik1c5piqb7q2bxrshfm4hm3lzfz4s8gi0xjm5gz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ pandas pytestCheckHook ];
|
||||
|
||||
checkPhase = ''
|
||||
# Almost all tests in this file fail
|
||||
rm tests/test_persist.py
|
||||
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 = with maintainers; [ costrouc SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -504,7 +504,7 @@ in {
|
|||
|
||||
awesome-slugify = callPackage ../development/python-modules/awesome-slugify { };
|
||||
|
||||
awkward = callPackage ../development/python-modules/awkward { };
|
||||
awkward0 = callPackage ../development/python-modules/awkward0 { };
|
||||
awkward1 = callPackage ../development/python-modules/awkward1 { };
|
||||
|
||||
aws-adfs = callPackage ../development/python-modules/aws-adfs { };
|
||||
|
|
Loading…
Reference in a new issue