From f2a054c03fce7c64a20085fa15495ae25709faba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Feb 2023 12:04:57 +0100 Subject: [PATCH] go-cve-search: add changelog to meta --- pkgs/tools/security/go-cve-search/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/go-cve-search/default.nix b/pkgs/tools/security/go-cve-search/default.nix index 971570df0d8..d4b231c63a1 100644 --- a/pkgs/tools/security/go-cve-search/default.nix +++ b/pkgs/tools/security/go-cve-search/default.nix @@ -1,6 +1,6 @@ -{ buildGoModule +{ lib +, buildGoModule , fetchFromGitHub -, lib }: buildGoModule rec { @@ -10,8 +10,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "s-index"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-ofa6lfA3XKj70YM6AVNKRgGI53teK7OB09luAom8HpQ="; + rev = "refs/tags/v${version}"; + hash = "sha256-ofa6lfA3XKj70YM6AVNKRgGI53teK7OB09luAom8HpQ="; }; vendorHash = "sha256-QXYjLPrfIPcZE8UTcE1kR9QQIusR/rAJG+e/IQ4P0PU="; @@ -26,6 +26,7 @@ buildGoModule rec { and Exposures). ''; homepage = "https://github.com/s-index/go-cve-search"; + changelog = "https://github.com/s-index/go-cve-search/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };