From 584280d3fb982e2649b2256931ca9e825180c89d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 6 Oct 2024 12:57:57 +0000 Subject: [PATCH 1/2] galer: 0.0.2 -> 0.1.0 --- pkgs/tools/security/galer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/galer/default.nix b/pkgs/tools/security/galer/default.nix index 852a91a8fc98..1e329ee3e747 100644 --- a/pkgs/tools/security/galer/default.nix +++ b/pkgs/tools/security/galer/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "galer"; - version = "0.0.2"; + version = "0.1.0"; src = fetchFromGitHub { owner = "dwisiswant0"; repo = pname; rev = "v${version}"; - hash = "sha256-i3rrXpKnUV9REnn4lQWIFpWc2SzkxVomruiAmcMBQ6Q="; + hash = "sha256-/VvN6LjK+V8E9XYarRUI/TPGitMM0a3g1lfdYhV1yP8="; }; - vendorHash = "sha256-2nJgQfSeo9GrK6Kor29esnMEFmd5pTd8lGwzRi4zq1w="; + vendorHash = "sha256-WDOwUjU6AP/8QvqiKTEY6wsMBZQFWn/LGWr8nfqDF+8="; meta = with lib; { description = "Tool to fetch URLs from HTML attributes"; From df946a8507ec89076029a86c5297c34021e68c40 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 6 Oct 2024 22:55:46 +0200 Subject: [PATCH 2/2] 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 1e329ee3e747..b2a9311a0b46 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"; }; }