From 2507b02a1c3de3ee1cd65d4503cc8a248041a97b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 23 Nov 2022 18:45:54 +0000 Subject: [PATCH 1/2] chaos: 0.3.0 -> 0.4.0 --- pkgs/tools/networking/chaos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/chaos/default.nix b/pkgs/tools/networking/chaos/default.nix index 229d3af208ef..09832c5bbdaa 100644 --- a/pkgs/tools/networking/chaos/default.nix +++ b/pkgs/tools/networking/chaos/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "chaos"; - version = "0.3.0"; + version = "0.4.0"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "chaos-client"; rev = "v${version}"; - sha256 = "sha256-1bmKIBbsZHNzwFZ0iPshXclCTcQMzU7zRs5MjMhTFYU="; + sha256 = "sha256-NA78zMge9AsfqO1px1FWCDKmWy1a0h8dtTotpgLazh4="; }; - vendorSha256 = "sha256-2QOdqX4JX9A/i1+qqemVq47PQfqDnxkj0EQMzK8k8/E="; + vendorSha256 = "sha256-KkT/mgU1BOwJcjxOBMCMq0hyxZAyoh25bi+s3ka6TOg="; subPackages = [ "cmd/chaos/" From e83efab60db3e597635255332047b110b862eb19 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 23 Nov 2022 20:20:45 +0100 Subject: [PATCH 2/2] chaos: add changelog to meta --- pkgs/tools/networking/chaos/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/chaos/default.nix b/pkgs/tools/networking/chaos/default.nix index 09832c5bbdaa..defcd2da9266 100644 --- a/pkgs/tools/networking/chaos/default.nix +++ b/pkgs/tools/networking/chaos/default.nix @@ -10,11 +10,11 @@ buildGoModule rec { src = fetchFromGitHub { owner = "projectdiscovery"; repo = "chaos-client"; - rev = "v${version}"; - sha256 = "sha256-NA78zMge9AsfqO1px1FWCDKmWy1a0h8dtTotpgLazh4="; + rev = "refs/tags/v${version}"; + hash = "sha256-NA78zMge9AsfqO1px1FWCDKmWy1a0h8dtTotpgLazh4="; }; - vendorSha256 = "sha256-KkT/mgU1BOwJcjxOBMCMq0hyxZAyoh25bi+s3ka6TOg="; + vendorHash = "sha256-KkT/mgU1BOwJcjxOBMCMq0hyxZAyoh25bi+s3ka6TOg="; subPackages = [ "cmd/chaos/" @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to communicate with Chaos DNS API"; homepage = "https://github.com/projectdiscovery/chaos-client"; + changelog = "https://github.com/projectdiscovery/chaos-client/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };