gowitness: add changelog to meta

authored by Fabian Affolter and committed by Jonathan Ringer 3069504d c92f7ba7

+12 -5
+12 -5
pkgs/tools/security/gowitness/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 2 5 3 6 buildGoModule rec { 4 7 pname = "gowitness"; ··· 6 9 7 10 src = fetchFromGitHub { 8 11 owner = "sensepost"; 9 - repo = pname; 10 - rev = version; 11 - sha256 = "sha256-37OorjzxDu27FNAz4LTtQdFjt0tL9jSb9tGZhlq797Q="; 12 + repo = "gowitness"; 13 + rev = "refs/tags/${version}"; 14 + hash = "sha256-37OorjzxDu27FNAz4LTtQdFjt0tL9jSb9tGZhlq797Q="; 12 15 }; 13 16 14 17 vendorHash = "sha256-Exw5NfR3nDYH+hWMPOKuVIRyrVkOJyP7Kwe4jzQwnsI="; 15 18 16 - ldflags = [ "-s" "-w" ]; 19 + ldflags = [ 20 + "-s" 21 + "-w" 22 + ]; 17 23 18 24 meta = with lib; { 19 25 description = "Web screenshot utility"; 20 26 homepage = "https://github.com/sensepost/gowitness"; 27 + changelog = "https://github.com/sensepost/gowitness/releases/tag/${version}"; 21 28 license = licenses.gpl3Only; 22 29 maintainers = with maintainers; [ fab ]; 23 30 };