@@ -0,0 +1,37 @@
1+{ lib
2+, fetchFromGitHub
3+, python3
4+}:
5+
6+python3.pkgs.buildPythonApplication rec {
7+ pname = "arsenal";
8+ version = "1.0.2";
9+
10+ src = fetchFromGitHub {
11+ owner = "Orange-Cyberdefense";
12+ repo = "arsenal";
13+ rev = version;
14+ sha256 = "sha256-RZxGSrtEa3hAtowD2lUb9BgwpSWlYo90fU9nDvUfoAk=";
15+ };
16+
17+ propagatedBuildInputs = with python3.pkgs; [
18+ libtmux
19+ docutils
20+ pyperclip
21+ ];
22+
23+ # Project has no tests
24+ doCheck = false;
25+
26+ pythonImportsCheck = [
27+ "arsenal"
28+ ];
29+
30+ meta = with lib; {
31+ description = "Tool to generate commands for security and network tools";
32+ homepage = "https://github.com/Orange-Cyberdefense/arsenal";
33+ license = with licenses; [ gpl3Only ];
34+ maintainers = with maintainers; [ fab ];
35+ mainProgram = "arsenal";
36+ };
37+}