From df946a8507ec89076029a86c5297c34021e68c40 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 6 Oct 2024 22:55:46 +0200 Subject: [PATCH] galer: refactor --- pkgs/tools/security/galer/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/galer/default.nix b/pkgs/tools/security/galer/default.nix index 1e329ee3e747d86..b2a9311a0b460a1 100644 --- a/pkgs/tools/security/galer/default.nix +++ b/pkgs/tools/security/galer/default.nix @@ -9,8 +9,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "dwisiswant0"; - repo = pname; - rev = "v${version}"; + repo = "galer"; + rev = "refs/tags/v${version}"; hash = "sha256-/VvN6LjK+V8E9XYarRUI/TPGitMM0a3g1lfdYhV1yP8="; }; @@ -18,9 +18,9 @@ buildGoModule rec { meta = with lib; { description = "Tool to fetch URLs from HTML attributes"; - mainProgram = "galer"; homepage = "https://github.com/dwisiswant0/galer"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "galer"; }; }