Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ 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 ];
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/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ flokli ]; };}