3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
36 lines
720 B
Nix
36 lines
720 B
Nix
{ 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 ];
|
|
};
|
|
}
|