nixpkgs/pkgs/by-name/au/audiness/package.nix
2024-03-09 20:43:19 +00:00

41 lines
887 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "audiness";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "audiusGmbH";
repo = "audiness";
rev = "refs/tags/${version}";
hash = "sha256-r+xWwXRKuTp5ifUUlF1K6BIVWh67hNLMBKBB7wnLLAM=";
};
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";
};
}