depot/third_party/nixpkgs/pkgs/tools/security/crlfsuite/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

36 lines
732 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "crlfsuite";
version = "2.5.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "Nefcore";
repo = "CRLFsuite";
rev = "refs/tags/v${version}";
sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI=";
};
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 ];
};
}