1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5buildGoModule {
6 pname = "honeytrap";
7 version = "unstable-2020-12-10";
8
9 src = fetchFromGitHub {
10 owner = "honeytrap";
11 repo = "honeytrap";
12 rev = "affd7b21a5aa1b57f086e6871753cb98ce088d76";
13 sha256 = "y1SWlBFgX3bFoSRGJ45DdC1DoIK5BfO9Vpi2h57wWtU=";
14 };
15
16 # Otherwise, will try to install a "scripts" binary; it's only used in
17 # dockerize.sh, which we don't care about.
18 subPackages = [ "." ];
19
20 vendorSha256 = "W8w66weYzCpZ+hmFyK2F6wdFz6aAZ9UxMhccNy1X1R8=";
21
22 meta = with lib; {
23 description = "Advanced Honeypot framework";
24 homepage = "https://github.com/honeytrap/honeytrap";
25 license = licenses.asl20;
26 maintainers = [ ];
27 };
28}