2024-04-12 07:32:42 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
2024-03-04 11:01:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "audiness";
|
2024-04-29 06:48:20 +00:00
|
|
|
version = "0.4.0";
|
2024-03-04 11:01:17 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "audiusGmbH";
|
|
|
|
repo = "audiness";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-04-29 06:48:20 +00:00
|
|
|
hash = "sha256-UJe4ZawjAuUoSKEdIgjh8zZu/amYLZ8rpUDahSHokKA=";
|
2024-03-04 11:01:17 +00:00
|
|
|
};
|
|
|
|
|
2024-04-29 06:48:20 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"typer"
|
|
|
|
"validators"
|
|
|
|
];
|
2024-04-12 07:32:16 +00:00
|
|
|
|
2024-04-12 07:32:42 +00:00
|
|
|
build-system = with python3.pkgs; [ poetry-core ];
|
2024-03-04 11:01:17 +00:00
|
|
|
|
2024-04-12 07:32:42 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
|
2024-04-12 07:32:16 +00:00
|
|
|
|
2024-04-12 07:32:42 +00:00
|
|
|
dependencies =
|
|
|
|
with python3.pkgs;
|
|
|
|
[
|
|
|
|
pytenable
|
|
|
|
typer
|
|
|
|
validators
|
|
|
|
]
|
|
|
|
++ typer.optional-dependencies.all;
|
2024-03-04 11:01:17 +00:00
|
|
|
|
2024-04-12 07:32:42 +00:00
|
|
|
pythonImportsCheck = [ "audiness" ];
|
2024-03-04 11:01:17 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI tool to interact with Nessus";
|
|
|
|
homepage = "https://github.com/audiusGmbH/audiness";
|
|
|
|
changelog = "https://github.com/audiusGmbH/audiness/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
mainProgram = "audiness";
|
|
|
|
};
|
|
|
|
}
|