about summary refs log tree commit diff
path: root/pkgs/tools/security/gowitness/default.nix
blob: 80bc40f450e0e36d19681943420f2c30abe14889 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gowitness";
  version = "2.4.2";

  src = fetchFromGitHub {
    owner = "sensepost";
    repo = pname;
    rev = version;
    sha256 = "sha256-e4J+W5VHVy/ngC5FDsDBStIaIR7jODWPt8VGTfAse44=";
  };

  vendorSha256 = "sha256-NFQbulW07sljskjLn6A4f+PMMCJxploYqAHE+K7XxH8=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Web screenshot utility";
    homepage = "https://github.com/sensepost/gowitness";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ fab ];
  };
}