From e83efab60db3e597635255332047b110b862eb19 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 23 Nov 2022 20:20:45 +0100 Subject: [PATCH] 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 ]; };