Skip to content

Commit cd56757

Browse files
authored
python312.pkgs.numbagg: init at 0.9.0 (#406597)
2 parents e9ed111 + 6b4039b commit cd56757

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
buildPythonPackage,
5+
6+
# build-system
7+
setuptools,
8+
setuptools-scm,
9+
10+
# dependencies
11+
numba,
12+
numpy,
13+
14+
# tests
15+
pytestCheckHook,
16+
bottleneck,
17+
hypothesis,
18+
pandas,
19+
pytest-benchmark,
20+
tabulate,
21+
}:
22+
23+
buildPythonPackage rec {
24+
version = "0.9.0";
25+
pname = "numbagg";
26+
pyproject = true;
27+
28+
src = fetchFromGitHub {
29+
owner = "numbagg";
30+
repo = "numbagg";
31+
tag = "v${version}";
32+
hash = "sha256-BuD5hjAd++pW4pEQyl0UP9gd3J8SjJirtpxVE53BLpM=";
33+
};
34+
35+
build-system = [
36+
setuptools
37+
setuptools-scm
38+
];
39+
40+
dependencies = [
41+
numpy
42+
numba
43+
];
44+
45+
pythonImportsCheck = [ "numbagg" ];
46+
47+
nativeCheckInputs = [
48+
pytestCheckHook
49+
50+
pandas
51+
bottleneck
52+
hypothesis
53+
tabulate
54+
pytest-benchmark
55+
];
56+
57+
meta = {
58+
description = "Fast N-dimensional aggregation functions with Numba";
59+
homepage = "https://github.com/numbagg/numbagg";
60+
changelog = "https://github.com/numbagg/numbagg/releases/tag/${version}";
61+
license = lib.licenses.bsd3;
62+
maintainers = with lib.maintainers; [ flokli ];
63+
};
64+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10111,6 +10111,8 @@ self: super: with self; {
1011110111

1011210112
numbaWithCuda = self.numba.override { cudaSupport = true; };
1011310113

10114+
numbagg = callPackage ../development/python-modules/numbagg { };
10115+
1011410116
numcodecs = callPackage ../development/python-modules/numcodecs { };
1011510117

1011610118
numdifftools = callPackage ../development/python-modules/numdifftools { };

0 commit comments

Comments
 (0)