nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "audiness";
9 version = "0.5.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "audiusGmbH";
14 repo = "audiness";
15 tag = version;
16 hash = "sha256-+5NDea4p/JWEk305EhAtab3to36a74KR50eosw6c5qI=";
17 };
18
19 pythonRelaxDeps = [
20 "typer"
21 "validators"
22 ];
23
24 build-system = with python3.pkgs; [ poetry-core ];
25
26 dependencies = with python3.pkgs; [
27 pytenable
28 typer
29 validators
30 ];
31
32 pythonImportsCheck = [ "audiness" ];
33
34 meta = {
35 description = "CLI tool to interact with Nessus";
36 homepage = "https://github.com/audiusGmbH/audiness";
37 changelog = "https://github.com/audiusGmbH/audiness/releases/tag/${version}";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ fab ];
40 mainProgram = "audiness";
41 };
42}