about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/gospider/default.nix
blob: d78089f6072ecfd32500a2fe5d6ca7aa945e033f (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
31
32
33
34
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "gospider";
  version = "1.1.6";

  src = fetchFromGitHub {
    owner = "jaeles-project";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-1EnKheHaS1kxw0cjxCahT3rUWBXiqxjKefrDBI2xIvY=";
  };

  vendorHash = "sha256-egjjSEZH8F6UMbnkz3xytIzdW/oITB3RL1ddxrmvSZM=";

  # tests require internet access and API keys
  doCheck = false;

  meta = with lib; {
    description = "Fast web spider written in Go";
    mainProgram = "gospider";
    longDescription = ''
      GoSpider is a fast web crawler that parses sitemap.xml and robots.txt file.
      It can generate and verify link from JavaScript files, extract URLs from
      various sources and can detect subdomains from the response source.
    '';
    homepage = "https://github.com/jaeles-project/gospider";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}