mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
arsenal: 1.1.0 -> 1.2.7 (#424108)
This commit is contained in:
@@ -2,18 +2,19 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "arsenal";
|
||||
version = "1.1.0";
|
||||
format = "pyproject";
|
||||
version = "1.2.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Orange-Cyberdefense";
|
||||
repo = "arsenal";
|
||||
rev = version;
|
||||
sha256 = "sha256-NbNXyR5aNKvRJU9JWGk/ndwU1bhNgDOdcRqBkAY9nPA=";
|
||||
tag = version;
|
||||
sha256 = "sha256-C8DEB/xojU7vGvmeBF+PBD6KWMaJgwa7PpRS5+YzQ6c=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user