2021-06-03 23:23:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kiterunner";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "assetnote";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "084jywgqjj2hpaprdcb9a7i8hihphnfil0sx3wrlvjpa8sk0z1mw";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "1nczzzsnh38qi949ki5268y39ggkwncanc1pv7727qpwllzl62vy";
|
|
|
|
|
2021-08-21 08:23:51 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s" "-w" "-X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}"
|
|
|
|
];
|
2021-06-03 23:23:00 +00:00
|
|
|
|
|
|
|
subPackages = [ "./cmd/kiterunner" ];
|
|
|
|
|
|
|
|
# Test data is missing in the repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Contextual content discovery tool";
|
|
|
|
longDescription = ''
|
|
|
|
Kiterunner is a tool that is capable of not only performing traditional
|
|
|
|
content discovery at lightning fast speeds, but also bruteforcing routes
|
|
|
|
and endpoints in modern applications.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/assetnote/kiterunner";
|
|
|
|
license = with licenses; [ agpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|