Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 821 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "ghmap"; 9 version = "1.0.3"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "uhourri"; 14 repo = "ghmap"; 15 tag = "v${version}"; 16 hash = "sha256-hv+44udltQYzLofs1APlEAi8HgT26dvcfK1GT8yfxFw="; 17 }; 18 19 build-system = with python3Packages; [ 20 setuptools 21 ]; 22 23 dependencies = with python3Packages; [ 24 tqdm 25 ]; 26 27 pythonImportsCheck = [ 28 "ghmap" 29 ]; 30 31 nativeCheckInputs = with python3Packages; [ 32 pytestCheckHook 33 ]; 34 35 meta = { 36 description = "Python tool for mapping GitHub events to contributor activities"; 37 homepage = "https://github.com/uhourri/ghmap"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ drupol ]; 40 mainProgram = "ghmap"; 41 }; 42}