2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "crlfsuite";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "2.5.2";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Nefcore";
|
|
|
|
repo = "CRLFsuite";
|
2022-07-14 12:49:19 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|