From c1baed0895c2c9e3738ef61614d3de9f999aa856 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 25 Mar 2023 21:55:27 +0000 Subject: [PATCH 1/2] mapcidr: 1.1.0 -> 1.1.1 --- pkgs/tools/misc/mapcidr/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/mapcidr/default.nix b/pkgs/tools/misc/mapcidr/default.nix index 9bed612bd598..d56016857f4f 100644 --- a/pkgs/tools/misc/mapcidr/default.nix +++ b/pkgs/tools/misc/mapcidr/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "mapcidr"; - version = "1.1.0"; + version = "1.1.1"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "v${version}"; - sha256 = "sha256-cpNNStPgGnEtiiHgpiLUvEFu78NtyJIVgjrkh6N+dLU="; + sha256 = "sha256-HmX4C1DXPS/14TGxKFnw/sxxp2suU6c4GC5W7ZtzjZ8="; }; - vendorHash = "sha256-t6bTbgOTWNz3nz/Tgwkd+TCBhN++0UaV0LqaEsO9YCI="; + vendorHash = "sha256-7cB+fDYWy1Qe3apEPaUMA2+6KmMpC7ANjEgIde00Pas="; modRoot = "."; subPackages = [ From d6074f1999d24fbc765175a67a10f2e4802a4a3c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Mar 2023 23:52:06 +0100 Subject: [PATCH 2/2] mapcidr: add changelog to meta --- pkgs/tools/misc/mapcidr/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/mapcidr/default.nix b/pkgs/tools/misc/mapcidr/default.nix index d56016857f4f..d300a282af27 100644 --- a/pkgs/tools/misc/mapcidr/default.nix +++ b/pkgs/tools/misc/mapcidr/default.nix @@ -10,8 +10,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-HmX4C1DXPS/14TGxKFnw/sxxp2suU6c4GC5W7ZtzjZ8="; + rev = "refs/tags/v${version}"; + hash = "sha256-HmX4C1DXPS/14TGxKFnw/sxxp2suU6c4GC5W7ZtzjZ8="; }; vendorHash = "sha256-7cB+fDYWy1Qe3apEPaUMA2+6KmMpC7ANjEgIde00Pas="; @@ -28,6 +28,7 @@ buildGoModule rec { operations, it can be used both as a library and as independent CLI tool. ''; homepage = "https://github.com/projectdiscovery/mapcidr"; + changelog = "https://github.com/projectdiscovery/mapcidr/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ hanemile ]; };