Merge pull request #332922 from r-ryantm/auto-update/ioc-scan
ioc-scan: 1.5.4 -> 2.0.0
This commit is contained in:
@@ -5,33 +5,31 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ioc-scan";
|
||||
version = "1.5.4";
|
||||
format = "setuptools";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cisagov";
|
||||
repo = "ioc-scanner";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LQljpIlTDy1uxuwj1WyygwrB5hQ7dib1ViB+SEhRJ6Y=";
|
||||
hash = "sha256-SCyCANZfi7PqexM2Kc8WJwwEEiBQxPBg0ggWsK9WB4k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace " --cov" ""
|
||||
--replace-fail " --cov" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
docopt
|
||||
];
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ docopt];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pyfakefs
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ioc_scan"
|
||||
];
|
||||
pythonImportsCheck = [ "ioc_scan" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to search a filesystem for indicators of compromise (IoC)";
|
||||
|
||||
Reference in New Issue
Block a user