diff --git a/pkgs/by-name/gh/ghmap/package.nix b/pkgs/by-name/gh/ghmap/package.nix index 42f0ee327e95..4b60a24e41c3 100644 --- a/pkgs/by-name/gh/ghmap/package.nix +++ b/pkgs/by-name/gh/ghmap/package.nix @@ -1,42 +1 @@ -{ - lib, - python3Packages, - fetchFromGitHub, -}: - -python3Packages.buildPythonApplication (finalAttrs: { - pname = "ghmap"; - version = "2.0.3"; - pyproject = true; - - src = fetchFromGitHub { - owner = "uhourri"; - repo = "ghmap"; - tag = "v${finalAttrs.version}"; - hash = "sha256-UF7Zxrm+thZeAKPiCaI5t4NbDzuUU3oosPsb0Cgv9t0="; - }; - - build-system = with python3Packages; [ - setuptools - ]; - - dependencies = with python3Packages; [ - tqdm - ]; - - pythonImportsCheck = [ - "ghmap" - ]; - - nativeCheckInputs = with python3Packages; [ - pytestCheckHook - ]; - - meta = { - description = "Python tool for mapping GitHub events to contributor activities"; - homepage = "https://github.com/uhourri/ghmap"; - license = lib.licenses.mit; - maintainers = [ ]; - mainProgram = "ghmap"; - }; -}) +{ python3Packages }: python3Packages.toPythonApplication python3Packages.ghmap