1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 setuptools-scm, 8 numpy, 9 numba, 10 pandas, 11}: 12 13buildPythonPackage rec { 14 pname = "numpy-groupies"; 15 version = "0.11.3"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "ml31415"; 20 repo = "numpy-groupies"; 21 tag = "v${version}"; 22 hash = "sha256-pg9hOtIgS8pB/Y9Xqto9Omsdg8TxaA5ZGE1Qh1DCceU="; 23 }; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 dependencies = [ numpy ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 numba 35 pandas 36 ]; 37 38 pythonImportsCheck = [ "numpy_groupies" ]; 39 40 meta = { 41 homepage = "https://github.com/ml31415/numpy-groupies"; 42 changelog = "https://github.com/ml31415/numpy-groupies/releases/tag/${src.tag}"; 43 description = "Optimised tools for group-indexing operations: aggregated sum and more"; 44 license = lib.licenses.bsd2; 45 maintainers = with lib.maintainers; [ berquist ]; 46 }; 47}