Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
|
|
# build-system
|
|
setuptools,
|
|
setuptools-scm,
|
|
|
|
# dependencies
|
|
numba,
|
|
numpy,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
bottleneck,
|
|
hypothesis,
|
|
pandas,
|
|
pytest-benchmark,
|
|
tabulate,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.9.3";
|
|
pname = "numbagg";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "numbagg";
|
|
repo = "numbagg";
|
|
tag = "v${version}";
|
|
hash = "sha256-MEgSxxKZaL0sPhERFa8DWF+Vkc/VuHDyyB2yfFv/uYw=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
numpy
|
|
numba
|
|
];
|
|
|
|
pythonImportsCheck = [ "numbagg" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
|
|
pandas
|
|
bottleneck
|
|
hypothesis
|
|
tabulate
|
|
pytest-benchmark
|
|
];
|
|
|
|
pytestFlags = [ "--benchmark-disable" ];
|
|
|
|
meta = {
|
|
description = "Fast N-dimensional aggregation functions with Numba";
|
|
homepage = "https://github.com/numbagg/numbagg";
|
|
changelog = "https://github.com/numbagg/numbagg/releases/tag/v${version}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ flokli ];
|
|
};
|
|
}
|