1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "kiterunner";
8 version = "1.0.2";
9
10 src = fetchFromGitHub {
11 owner = "assetnote";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "084jywgqjj2hpaprdcb9a7i8hihphnfil0sx3wrlvjpa8sk0z1mw";
15 };
16
17 vendorSha256 = "1nczzzsnh38qi949ki5268y39ggkwncanc1pv7727qpwllzl62vy";
18
19 ldflags = [
20 "-s" "-w" "-X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}"
21 ];
22
23 subPackages = [ "./cmd/kiterunner" ];
24
25 # Test data is missing in the repo
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Contextual content discovery tool";
30 longDescription = ''
31 Kiterunner is a tool that is capable of not only performing traditional
32 content discovery at lightning fast speeds, but also bruteforcing routes
33 and endpoints in modern applications.
34 '';
35 homepage = "https://github.com/assetnote/kiterunner";
36 license = with licenses; [ agpl3Only ];
37 maintainers = with maintainers; [ fab ];
38 };
39}