Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 buildGoModule,
5 fetchFromGitHub,
6}:
7
8buildGoModule rec {
9 pname = "monsoon";
10 version = "0.10.1";
11
12 src = fetchFromGitHub {
13 owner = "RedTeamPentesting";
14 repo = "monsoon";
15 tag = "v${version}";
16 hash = "sha256-vgwoW7jrcLVHDm1cYrIpFcfrgKImCAVOtHg8lMQ6aic=";
17 };
18
19 vendorHash = "sha256-hGEUO1sl8IKXo4rkS81Wlf7187lu2PrSujNlGNTLwmE=";
20
21 # Tests fails on darwin
22 doCheck = !stdenv.hostPlatform.isDarwin;
23
24 meta = {
25 description = "Fast HTTP enumerator";
26 mainProgram = "monsoon";
27 longDescription = ''
28 A fast HTTP enumerator that allows you to execute a large number of HTTP
29 requests, filter the responses and display them in real-time.
30 '';
31 homepage = "https://github.com/RedTeamPentesting/monsoon";
32 changelog = "https://github.com/RedTeamPentesting/monsoon/releases/tag/v${version}";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ fab ];
35 };
36}