about summary refs log tree commit diff
path: root/pkgs/tools/security/arsenal
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-10 12:50:25 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-12-10 12:53:18 +0100
commitee21079c29e8bf2f39b3219f9f1536cc9da75c78 (patch)
tree06c44947ead84f839d996a726ab5bc93fe3499e7 /pkgs/tools/security/arsenal
parent9549b866e3988fd47d271fd556d321c53f6f2018 (diff)
arsenal: init at 1.0.2
Diffstat (limited to 'pkgs/tools/security/arsenal')
-rw-r--r--pkgs/tools/security/arsenal/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/security/arsenal/default.nix b/pkgs/tools/security/arsenal/default.nix
new file mode 100644
index 0000000000000..cd927715d2e83
--- /dev/null
+++ b/pkgs/tools/security/arsenal/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "arsenal";
+  version = "1.0.2";
+
+  src = fetchFromGitHub {
+    owner = "Orange-Cyberdefense";
+    repo = "arsenal";
+    rev = version;
+    sha256 = "sha256-RZxGSrtEa3hAtowD2lUb9BgwpSWlYo90fU9nDvUfoAk=";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    libtmux
+    docutils
+    pyperclip
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "arsenal"
+  ];
+
+  meta = with lib; {
+    description = "Tool to generate commands for security and network tools";
+    homepage = "https://github.com/Orange-Cyberdefense/arsenal";
+    license = with licenses; [ gpl3Only ];
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "arsenal";
+  };
+}