depot/third_party/nixpkgs/pkgs/development/python-modules/numpy-groupies/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

47 lines
962 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
numpy,
numba,
pandas,
}:
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" ];
meta = {
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 = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ berquist ];
};
}