From 3170cbaec42edf6c4bf16ba042a52fbb602fa3f3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Apr 2024 09:30:33 +0200 Subject: [PATCH 1/3] audiness: refactor --- pkgs/by-name/au/audiness/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/au/audiness/package.nix b/pkgs/by-name/au/audiness/package.nix index 1909d5411e62..fa2122435319 100644 --- a/pkgs/by-name/au/audiness/package.nix +++ b/pkgs/by-name/au/audiness/package.nix @@ -15,11 +15,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-r+xWwXRKuTp5ifUUlF1K6BIVWh67hNLMBKBB7wnLLAM="; }; - nativeBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ pytenable typer validators From 851c6dbee0352f4524d2c06ca6ca3725ec806c0d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Apr 2024 09:32:16 +0200 Subject: [PATCH 2/3] audiness: 0.3.1 -> 0.3.2 Diff: https://github.com/audiusGmbH/audiness/compare/refs/tags/0.3.1...0.3.2 Changelog: https://github.com/audiusGmbH/audiness/releases/tag/0.3.2 --- pkgs/by-name/au/audiness/package.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/au/audiness/package.nix b/pkgs/by-name/au/audiness/package.nix index fa2122435319..d4ee8bc3f2a5 100644 --- a/pkgs/by-name/au/audiness/package.nix +++ b/pkgs/by-name/au/audiness/package.nix @@ -5,20 +5,28 @@ python3.pkgs.buildPythonApplication rec { pname = "audiness"; - version = "0.3.1"; + version = "0.3.2"; pyproject = true; src = fetchFromGitHub { owner = "audiusGmbH"; repo = "audiness"; rev = "refs/tags/${version}"; - hash = "sha256-r+xWwXRKuTp5ifUUlF1K6BIVWh67hNLMBKBB7wnLLAM="; + hash = "sha256-vc2k3oEMTgzm/C6z6BieRrT3cSP0IkY+D3RXkNGaZTE="; }; + pythonRelaxDeps = [ + "validators" + ]; + build-system = with python3.pkgs; [ poetry-core ]; + nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook + ]; + dependencies = with python3.pkgs; [ pytenable typer From 3674a336f628338a9c92ae27c846240d352223da Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Apr 2024 09:32:42 +0200 Subject: [PATCH 3/3] audiness: format with nixfmt --- pkgs/by-name/au/audiness/package.nix | 36 +++++++++++++--------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/au/audiness/package.nix b/pkgs/by-name/au/audiness/package.nix index d4ee8bc3f2a5..06d3e4c49a94 100644 --- a/pkgs/by-name/au/audiness/package.nix +++ b/pkgs/by-name/au/audiness/package.nix @@ -1,6 +1,7 @@ -{ lib -, fetchFromGitHub -, python3 +{ + lib, + fetchFromGitHub, + python3, }: python3.pkgs.buildPythonApplication rec { @@ -15,27 +16,22 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-vc2k3oEMTgzm/C6z6BieRrT3cSP0IkY+D3RXkNGaZTE="; }; - pythonRelaxDeps = [ - "validators" - ]; + pythonRelaxDeps = [ "validators" ]; - build-system = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - nativeBuildInputs = with python3.pkgs; [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ]; - dependencies = with python3.pkgs; [ - pytenable - typer - validators - ] ++ typer.optional-dependencies.all; + dependencies = + with python3.pkgs; + [ + pytenable + typer + validators + ] + ++ typer.optional-dependencies.all; - pythonImportsCheck = [ - "audiness" - ]; + pythonImportsCheck = [ "audiness" ]; meta = with lib; { description = "CLI tool to interact with Nessus";