mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
9c3e9cb216
Diff: https://github.com/audiusGmbH/audiness/compare/refs/tags/0.3.2...0.4.0 Changelog: https://github.com/audiusGmbH/audiness/releases/tag/0.4.0
48 lines
1010 B
Nix
48 lines
1010 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "audiness";
|
|
version = "0.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "audiusGmbH";
|
|
repo = "audiness";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-UJe4ZawjAuUoSKEdIgjh8zZu/amYLZ8rpUDahSHokKA=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"typer"
|
|
"validators"
|
|
];
|
|
|
|
build-system = with python3.pkgs; [ poetry-core ];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
|
|
|
|
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";
|
|
};
|
|
}
|