nixpkgs/pkgs/tools/security/crlfuzz/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
621 B
Nix

{ 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 ];
};
}