mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
3d12611232
Typer specifies the standard optional-dependencies package list, but then due to internal tooling includes it by default in Require-Dist. https://github.com/tiangolo/typer/blob/0.12.3/pyproject.toml#L71-L72 This is in line with changes that happened in typer 0.12.1 https://github.com/tiangolo/typer/releases/tag/0.12.1
46 lines
905 B
Nix
46 lines
905 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
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|