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