nixpkgs/pkgs/tools/security/arsenal/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
815 B
Nix
Raw Normal View History

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