forked from mirrors/nixpkgs
gowitness: add changelog to meta
This commit is contained in:
parent
c92f7ba7a2
commit
3069504d36
|
@ -1,4 +1,7 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gowitness";
|
||||
|
@ -6,18 +9,22 @@ buildGoModule rec {
|
|||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sensepost";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-37OorjzxDu27FNAz4LTtQdFjt0tL9jSb9tGZhlq797Q=";
|
||||
repo = "gowitness";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-37OorjzxDu27FNAz4LTtQdFjt0tL9jSb9tGZhlq797Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Exw5NfR3nDYH+hWMPOKuVIRyrVkOJyP7Kwe4jzQwnsI=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Web screenshot utility";
|
||||
homepage = "https://github.com/sensepost/gowitness";
|
||||
changelog = "https://github.com/sensepost/gowitness/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue