2021-12-19 01:06:50 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "arsenal";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "1.1.0";
|
|
|
|
format = "setuptools";
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Orange-Cyberdefense";
|
|
|
|
repo = "arsenal";
|
|
|
|
rev = version;
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-NbNXyR5aNKvRJU9JWGk/ndwU1bhNgDOdcRqBkAY9nPA=";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
libtmux
|
|
|
|
docutils
|
2022-06-16 17:23:12 +00:00
|
|
|
pyfzf
|
2021-12-19 01:06:50 +00:00
|
|
|
pyperclip
|
2022-06-16 17:23:12 +00:00
|
|
|
pyyaml
|
2021-12-19 01:06:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
}
|