about summary refs log tree commit diff
path: root/pkgs/tools/security/crlfuzz/default.nix
blob: ab2ee1e7a46efb1cc50227f73c8a09436c23cb9f (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
{ buildGoModule
, fetchFromGitHub
, lib
}:

buildGoModule rec {
  pname = "crlfuzz";
  version = "1.4.1";

  src = fetchFromGitHub {
    owner = "dwisiswant0";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-rqhdxOQmZCRtq+IZygKLleb5GoKP2akyEc3rbGcnZmw=";
  };

  vendorHash = "sha256-yLtISEJWIKqCuZtQxReu/Vykw5etqgLpuXqOdtwBkqU=";

  doCheck = true;

  meta = with lib; {
    description = "Tool to scan for CRLF vulnerability";
    mainProgram = "crlfuzz";
    homepage = "https://github.com/dwisiswant0/crlfuzz";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}