about summary refs log tree commit diff
path: root/pkgs/by-name/go/gophish/package.nix
blob: a319b2bd97e87596e01421e779f17f8ad97e1865 (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
25
26
27
28
29
30
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "gophish";
  version = "0.12.1";

  src = fetchFromGitHub {
    owner = "gophish";
    repo = "gophish";
    rev = "v${version}";
    hash = "sha256-6OUhRB2d8k7h9tI3IPKy9f1KoEx1mvGbxQZF1sCngqs=";
  };

  vendorHash = "sha256-2seQCVALU35l+aAsfag0W19FWlSTlEsSmxTmKKi3A+0=";

  meta = with lib; {
    description = "Open-Source Phishing Toolkit";
    longDescription = ''
      Open-source phishing toolkit designed for businesses and penetration testers.
      Provides the ability to quickly and easily setup and execute phishing engagements and security awareness training.
    '';
    homepage = "https://github.com/gophish/gophish";
    license = licenses.mit;
    maintainers = with maintainers; [ mib ];
    mainProgram = "gophish";
  };
}