From ffb8732458a5e87ae35bdf36ebd2b3c25e42456d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Mar 2024 12:01:17 +0100 Subject: [PATCH] audiness: init at 0.2.0 CLI tool to interact with Tenable's Nessus https://github.com/audiusGmbH/audiness --- pkgs/by-name/au/audiness/package.nix | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/au/audiness/package.nix diff --git a/pkgs/by-name/au/audiness/package.nix b/pkgs/by-name/au/audiness/package.nix new file mode 100644 index 000000000000..adff57321ee8 --- /dev/null +++ b/pkgs/by-name/au/audiness/package.nix @@ -0,0 +1,40 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "audiness"; + version = "0.2.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "audiusGmbH"; + repo = "audiness"; + rev = "refs/tags/${version}"; + hash = "sha256-FSZ3EyLGtTCmeIRg2aHB/U14yPa5CpTLdqIZ6eyRtXQ="; + }; + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + ]; + + propagatedBuildInputs = with python3.pkgs; [ + pytenable + typer + validators + ] ++ typer.optional-dependencies.all; + + pythonImportsCheck = [ + "audiness" + ]; + + 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"; + }; +}