nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildGoModule
2, fetchFromGitHub
3, lib
4}:
5
6buildGoModule rec {
7 pname = "hakrawler";
8 version = "20201224-${lib.strings.substring 0 7 rev}";
9 rev = "e39a514d0e179d33362ee244c017fb65cc2c12a5";
10
11 src = fetchFromGitHub {
12 owner = "hakluke";
13 repo = "hakrawler";
14 inherit rev;
15 sha256 = "0wpqfbpgnr94q5n7i4zh806k8n0phyg0ncnz43hqh4bbdh7l1y8a";
16 };
17
18 vendorSha256 = "18zs2l77ds0a3wxfqcd91h269g0agnwhginrx3j6gj30dbfls8a1";
19
20 meta = with lib; {
21 description = "Web crawler for the discovery of endpoints and assets";
22 homepage = "https://github.com/hakluke/hakrawler";
23 longDescription = ''
24 Simple, fast web crawler designed for easy, quick discovery of endpoints
25 and assets within a web application.
26 '';
27 license = licenses.mit;
28 maintainers = with maintainers; [ fab ];
29 };
30}