1{ lib
2, fetchFromGitHub
3, python3
4}:
5
6python3.pkgs.buildPythonApplication rec {
7 pname = "crlfsuite";
8 version = "2.5.2";
9 format = "setuptools";
10
11 src = fetchFromGitHub {
12 owner = "Nefcore";
13 repo = "CRLFsuite";
14 rev = "refs/tags/v${version}";
15 sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI=";
16 };
17
18 propagatedBuildInputs = with python3.pkgs; [
19 colorama
20 requests
21 ];
22
23 # No tests present
24 doCheck = false;
25
26 pythonImportsCheck = [
27 "crlfsuite"
28 ];
29
30 meta = with lib; {
31 description = "CRLF injection (HTTP Response Splitting) scanner";
32 homepage = "https://github.com/Nefcore/CRLFsuite";
33 license = licenses.mit;
34 maintainers = with maintainers; [ c0bw3b fab ];
35 };
36}