nixpkgs/pkgs/tools/security/gowitness/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
577 B
Nix
Raw Normal View History

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