Merge pull request #332158 from berquist/add-python-numpy-groupies
python3Packages.numpy-groupies: init at 0.11.2
This commit is contained in:
commit
dff51e1377
@ -2544,6 +2544,13 @@
|
||||
githubId = 410028;
|
||||
name = "Tobias Bergkvist";
|
||||
};
|
||||
berquist = {
|
||||
name = "Eric Berquist";
|
||||
email = "eric.berquist@gmail.com";
|
||||
github = "berquist";
|
||||
githubId = 727571;
|
||||
keys = [ { fingerprint = "AAD4 3B70 A504 9675 CFC8 B101 BAFD 205D 5FA2 B329"; } ];
|
||||
};
|
||||
berryp = {
|
||||
email = "berryphillips@gmail.com";
|
||||
github = "berryp";
|
||||
|
50
pkgs/development/python-modules/numpy-groupies/default.nix
Normal file
50
pkgs/development/python-modules/numpy-groupies/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -9251,6 +9251,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user