nixpkgs/pkgs/by-name/au/audiness/package.nix
Martin Weinelt abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00

47 lines
944 B
Nix

{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "audiness";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "audiusGmbH";
repo = "audiness";
rev = "refs/tags/${version}";
hash = "sha256-+5NDea4p/JWEk305EhAtab3to36a74KR50eosw6c5qI=";
};
pythonRelaxDeps = [
"typer"
"validators"
];
build-system = with python3.pkgs; [ poetry-core ];
dependencies =
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";
};
}