arsenal: modernize

This commit is contained in:
Amadej Kastelic
2025-07-10 19:15:43 +02:00
parent c25cb9ef49
commit 5a9ae7aafa
+8 -7
View File
@@ -2,17 +2,18 @@
lib,
fetchFromGitHub,
python3,
versionCheckHook,
}:
python3.pkgs.buildPythonApplication rec {
pname = "arsenal";
version = "1.1.0";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "Orange-Cyberdefense";
repo = "arsenal";
rev = version;
tag = version;
sha256 = "sha256-NbNXyR5aNKvRJU9JWGk/ndwU1bhNgDOdcRqBkAY9nPA=";
};
@@ -28,18 +29,18 @@ python3.pkgs.buildPythonApplication rec {
pyyaml
];
# Project has no tests
doCheck = false;
nativeCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
pythonImportsCheck = [
"arsenal"
];
meta = with lib; {
meta = {
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 ];
license = with lib.licenses; [ gpl3Only ];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "arsenal";
};
}