mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.awkward-cpp: init at 2
This commit is contained in:
parent
a0b0a4ac29
commit
02ba62f8f3
46
pkgs/development/python-modules/awkward-cpp/default.nix
Normal file
46
pkgs/development/python-modules/awkward-cpp/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, cmake
|
||||||
|
, numpy
|
||||||
|
, pybind11
|
||||||
|
, scikit-build-core
|
||||||
|
, typing-extensions
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "awkward-cpp";
|
||||||
|
version = "2";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-XmP0PjE19224Hgkkp07PSHD1hcEan0MlaLN3wEAohow=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pybind11
|
||||||
|
scikit-build-core
|
||||||
|
] ++ scikit-build-core.optional-dependencies.pyproject;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
numpy
|
||||||
|
];
|
||||||
|
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"awkward_cpp"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "CPU kernels and compiled extensions for Awkward Array";
|
||||||
|
homepage = "https://github.com/scikit-hep/awkward";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ veprbl ];
|
||||||
|
};
|
||||||
|
}
|
@ -818,6 +818,8 @@ self: super: with self; {
|
|||||||
awkward0 = callPackage ../development/python-modules/awkward0 { };
|
awkward0 = callPackage ../development/python-modules/awkward0 { };
|
||||||
awkward = callPackage ../development/python-modules/awkward { };
|
awkward = callPackage ../development/python-modules/awkward { };
|
||||||
|
|
||||||
|
awkward-cpp = callPackage ../development/python-modules/awkward-cpp { };
|
||||||
|
|
||||||
aws-adfs = callPackage ../development/python-modules/aws-adfs { };
|
aws-adfs = callPackage ../development/python-modules/aws-adfs { };
|
||||||
|
|
||||||
aws-lambda-builders = callPackage ../development/python-modules/aws-lambda-builders { };
|
aws-lambda-builders = callPackage ../development/python-modules/aws-lambda-builders { };
|
||||||
|
Loading…
Reference in New Issue
Block a user