diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-06-13 18:28:08 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-06-13 18:28:08 +0200 |
commit | 4ecbbe38052e2d99884c4ac2422905c0032cdb7c (patch) | |
tree | e23d1612204a8c4c5e35a541f70499b5a505aedc /pkgs/tools/security/atomic-operator | |
parent | ee4b07bdd0f05059a0c2c12870d08ee70574dfc2 (diff) |
atomic-operator: init at 0.8.5
Diffstat (limited to 'pkgs/tools/security/atomic-operator')
-rw-r--r-- | pkgs/tools/security/atomic-operator/default.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/tools/security/atomic-operator/default.nix b/pkgs/tools/security/atomic-operator/default.nix new file mode 100644 index 0000000000000..c4e07b4d3418f --- /dev/null +++ b/pkgs/tools/security/atomic-operator/default.nix @@ -0,0 +1,54 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "atomic-operator"; + version = "0.8.5"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "swimlane"; + repo = pname; + rev = version; + hash = "sha256-fO8bvzeMdJVWlhpzdTmJo9mrT6iorsLqr/GPF9gvE70="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + attrs + certifi + chardet + charset-normalizer + fire + idna + paramiko + pick + pypsrp + pyyaml + requests + urllib3 + ]; + + checkInputs = with python3.pkgs; [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "atomic_operator" + ]; + + disabledTests = [ + # Tests require network access + "test_download_of_atomic_red_team_repo" + "test_setting_input_arguments" + "test_config_parser" + ]; + + meta = with lib; { + description = "Tool to execute Atomic Red Team tests (Atomics)"; + homepage = "https://www.atomic-operator.com/"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |