regexploit: init at 1.0.0
This commit is contained in:
parent
098ca1a9aa
commit
93ff529590
35
pkgs/tools/security/regexploit/default.nix
Normal file
35
pkgs/tools/security/regexploit/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "regexploit";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
disabled = python3.pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "doyensec";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0z3fghsyw0ll36in7ihc0qi3gy7mqi6cw1mi8m8c8xb1nlwpfr0y";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = with python3.pkgs; [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "regexploit" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tool to find regular expressions which are vulnerable to ReDoS";
|
||||||
|
homepage = "https://github.com/doyensec/regexploit";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -12930,6 +12930,8 @@ with pkgs;
|
|||||||
|
|
||||||
red = callPackage ../development/interpreters/red { };
|
red = callPackage ../development/interpreters/red { };
|
||||||
|
|
||||||
|
regexploit = callPackage ../tools/security/regexploit { };
|
||||||
|
|
||||||
regextester = callPackage ../applications/misc/regextester { };
|
regextester = callPackage ../applications/misc/regextester { };
|
||||||
|
|
||||||
regina = callPackage ../development/interpreters/regina { };
|
regina = callPackage ../development/interpreters/regina { };
|
||||||
|
Loading…
Reference in New Issue
Block a user