2022-10-06 18:32:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gowitness";
|
2022-10-06 18:32:54 +00:00
|
|
|
version = "2.4.2";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sensepost";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-10-06 18:32:54 +00:00
|
|
|
sha256 = "sha256-e4J+W5VHVy/ngC5FDsDBStIaIR7jODWPt8VGTfAse44=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
vendorSha256 = "sha256-NFQbulW07sljskjLn6A4f+PMMCJxploYqAHE+K7XxH8=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Web screenshot utility";
|
|
|
|
homepage = "https://github.com/sensepost/gowitness";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|