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