python312.pkgs.numbagg: init at 0.9.0 (#406597)

This commit is contained in:
Florian Klink
2025-05-13 03:50:11 +03:00
committed by GitHub
2 changed files with 66 additions and 0 deletions
@@ -0,0 +1,64 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
# build-system
setuptools,
setuptools-scm,
# dependencies
numba,
numpy,
# tests
pytestCheckHook,
bottleneck,
hypothesis,
pandas,
pytest-benchmark,
tabulate,
}:
buildPythonPackage rec {
version = "0.9.0";
pname = "numbagg";
pyproject = true;
src = fetchFromGitHub {
owner = "numbagg";
repo = "numbagg";
tag = "v${version}";
hash = "sha256-BuD5hjAd++pW4pEQyl0UP9gd3J8SjJirtpxVE53BLpM=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
numpy
numba
];
pythonImportsCheck = [ "numbagg" ];
nativeCheckInputs = [
pytestCheckHook
pandas
bottleneck
hypothesis
tabulate
pytest-benchmark
];
meta = {
description = "Fast N-dimensional aggregation functions with Numba";
homepage = "https://github.com/numbagg/numbagg";
changelog = "https://github.com/numbagg/numbagg/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ flokli ];
};
}
+2
View File
@@ -10111,6 +10111,8 @@ self: super: with self; {
numbaWithCuda = self.numba.override { cudaSupport = true; };
numbagg = callPackage ../development/python-modules/numbagg { };
numcodecs = callPackage ../development/python-modules/numcodecs { };
numdifftools = callPackage ../development/python-modules/numdifftools { };