nixpkgs/pkgs/development/python-modules/awkward/default.nix
Dmitry Kalinkin 4e25873e92
pythonPackages.awkward: 1.0.2 -> 1.1.2
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-06 15:55:19 -05:00

37 lines
786 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numba
, numpy
, pytestCheckHook
, rapidjson
}:
buildPythonPackage rec {
pname = "awkward";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "4ae8371d9e6d5bd3e90f3686b433cebc0541c88072655d2c75ec58e79b5d6943";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ rapidjson ];
propagatedBuildInputs = [ numpy ];
dontUseCmakeConfigure = true;
checkInputs = [ pytestCheckHook numba ];
dontUseSetuptoolsCheck = true;
disabledTestPaths = [ "tests-cuda" ];
meta = with lib; {
description = "Manipulate JSON-like data with NumPy-like idioms";
homepage = "https://github.com/scikit-hep/awkward-1.0";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}