mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
Merge pull request #177487 from fabaff/crlfsuite
crlfsuite: init at 2.0
This commit is contained in:
commit
514564d50a
36
pkgs/tools/security/crlfsuite/default.nix
Normal file
36
pkgs/tools/security/crlfsuite/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "crlfsuite";
|
||||
version = "2.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nefcore";
|
||||
repo = "CRLFsuite";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-V/EaOtGDPJQAMu9akOtZN5LKLFd3EQkjn79q7ubV0Mc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
colorama
|
||||
requests
|
||||
];
|
||||
|
||||
# No tests present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"crlfsuite"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CRLF injection (HTTP Response Splitting) scanner";
|
||||
homepage = "https://github.com/Nefcore/CRLFsuite";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ c0bw3b fab ];
|
||||
};
|
||||
}
|
@ -4682,6 +4682,8 @@ with pkgs;
|
||||
|
||||
cmt = callPackage ../applications/audio/cmt {};
|
||||
|
||||
crlfsuite = callPackage ../tools/security/crlfsuite {};
|
||||
|
||||
crlfuzz = callPackage ../tools/security/crlfuzz {};
|
||||
|
||||
hedgedoc = callPackage ../servers/web-apps/hedgedoc { };
|
||||
|
Loading…
Reference in New Issue
Block a user