nixpkgs/pkgs/tools/security/crlfsuite/default.nix

37 lines
732 B
Nix
Raw Normal View History

2022-06-13 10:19:47 +02:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "crlfsuite";
2022-09-08 06:11:07 +02:00
version = "2.5.2";
2022-06-13 10:19:47 +02:00
format = "setuptools";
src = fetchFromGitHub {
owner = "Nefcore";
repo = "CRLFsuite";
2022-07-06 03:47:29 +02:00
rev = "refs/tags/v${version}";
2022-09-08 06:11:07 +02:00
sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI=";
2022-06-13 10:19:47 +02: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 ];
};
}