summary refs log blame commit diff
path: root/pkgs/tools/security/gowitness/default.nix
blob: a361c141d3a0bd491f28ebd224d3023bb290bb12 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                        


                      
                    




                         
                                                                   

    
                                                                     

                          







                                                        
{ lib, buildGoModule, fetchFromGitHub }:

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

  src = fetchFromGitHub {
    owner = "sensepost";
    repo = pname;
    rev = version;
    sha256 = "sha256-rylft6v6Np8xOm2AUtH7e/zDZQ87WNPeerXEtziSrDw=";
  };

  vendorHash = "sha256-l6jdVsKKLqEyFpz7JhkLLjVTWX1pZenlCY5UqSZVMdc=";

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

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