2023-11-02 07:42:33 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2022-06-14 10:50:26 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gowitness";
|
2023-10-29 17:32:43 +01:00
|
|
|
version = "2.5.1";
|
2022-06-14 10:50:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sensepost";
|
2023-11-02 07:42:33 +01:00
|
|
|
repo = "gowitness";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-37OorjzxDu27FNAz4LTtQdFjt0tL9jSb9tGZhlq797Q=";
|
2022-06-14 10:50:26 +02:00
|
|
|
};
|
|
|
|
|
2023-10-29 17:32:43 +01:00
|
|
|
vendorHash = "sha256-Exw5NfR3nDYH+hWMPOKuVIRyrVkOJyP7Kwe4jzQwnsI=";
|
2022-10-01 04:26:17 +02:00
|
|
|
|
2023-11-02 07:42:33 +01:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
2022-06-14 10:50:26 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Web screenshot utility";
|
|
|
|
homepage = "https://github.com/sensepost/gowitness";
|
2023-11-02 07:42:33 +01:00
|
|
|
changelog = "https://github.com/sensepost/gowitness/releases/tag/${version}";
|
2022-06-14 10:50:26 +02:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|