Files
nixpkgs/pkgs/development/python-modules/ghmap/default.nix
T
2026-02-15 10:55:37 +01:00

43 lines
773 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
tqdm,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "ghmap";
version = "2.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "sgl-umons";
repo = "ghmap";
tag = "v${finalAttrs.version}";
hash = "sha256-UF7Zxrm+thZeAKPiCaI5t4NbDzuUU3oosPsb0Cgv9t0=";
};
build-system = [
setuptools
];
dependencies = [
tqdm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"ghmap"
];
meta = {
description = "A Python tool for mapping GitHub events to contributor activities";
homepage = "https://github.com/sgl-umons/ghmap";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
})