python3Packages.numpy-groupies: init at 0.11.2

This commit is contained in:
Eric Berquist
2024-08-04 15:28:07 -04:00
parent 46cdf5fb12
commit e320b6a3e0
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
numpy,
numba,
pandas,
gitUpdater,
}:
buildPythonPackage rec {
pname = "numpy-groupies";
version = "0.11.2";
pyproject = true;
src = fetchFromGitHub {
owner = "ml31415";
repo = "numpy-groupies";
rev = "refs/tags/v${version}";
hash = "sha256-Eu+5SR28jIasKe1p7rvbq2yo3PGZRQWWdG3A5vGhnyM=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ numpy ];
nativeCheckInputs = [
pytestCheckHook
numba
pandas
];
pythonImportsCheck = [ "numpy_groupies" ];
passthru.updateScript = gitUpdater { tagPrefix = "v"; };
meta = with lib; {
homepage = "https://github.com/ml31415/numpy-groupies";
changelog = "https://github.com/ml31415/numpy-groupies/releases/tag/v${version}";
description = "Optimised tools for group-indexing operations: aggregated sum and more";
license = licenses.bsd2;
maintainers = [ maintainers.berquist ];
};
}
+2
View File
@@ -9228,6 +9228,8 @@ self: super: with self; {
numpy_2 = callPackage ../development/python-modules/numpy/2.nix { };
numpy = if self.pythonOlder "3.13" then numpy_1 else numpy_2;
numpy-groupies = callPackage ../development/python-modules/numpy-groupies { };
numpy-stl = callPackage ../development/python-modules/numpy-stl { };
numpyro = callPackage ../development/python-modules/numpyro { };