Unverified Commit cd567570 authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

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

parents e9ed111e 6b4039b3
Loading
Loading
Loading
Loading
+64 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };