python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / crlfsuite / default.nix
blobbc375f03c0c4fa860efecb3148dc55c4cf635b3a
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "crlfsuite";
8   version = "2.5.2";
9   format = "setuptools";
11   src = fetchFromGitHub {
12     owner = "Nefcore";
13     repo = "CRLFsuite";
14     rev = "refs/tags/v${version}";
15     sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI=";
16   };
18   propagatedBuildInputs = with python3.pkgs; [
19     colorama
20     requests
21   ];
23   # No tests present
24   doCheck = false;
26   pythonImportsCheck = [
27     "crlfsuite"
28   ];
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   };