From e39d47ef012971958f11ebdd1d85ad95629c3aea Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 4 Jul 2026 23:48:29 +0000 Subject: [PATCH 1/2] python3Packages.torch-audiomentations: add missing test dependency pyyaml --- .../python-modules/torch-audiomentations/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/torch-audiomentations/default.nix b/pkgs/development/python-modules/torch-audiomentations/default.nix index ca01c81ced29..dbfa7cbbb5e2 100644 --- a/pkgs/development/python-modules/torch-audiomentations/default.nix +++ b/pkgs/development/python-modules/torch-audiomentations/default.nix @@ -16,6 +16,7 @@ # tests pytest-cov-stub, pytestCheckHook, + pyyaml, }: buildPythonPackage (finalAttrs: { @@ -45,6 +46,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ pytest-cov-stub pytestCheckHook + pyyaml ]; pythonImportsCheck = [ "torch_audiomentations" ]; From dee42f8afc66cd97b56c14bd4b6c229e75e939ba Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 4 Jul 2026 23:49:01 +0000 Subject: [PATCH 2/2] python3Packages.torch-audiomentations: enable __structuredAttrs --- .../development/python-modules/torch-audiomentations/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/torch-audiomentations/default.nix b/pkgs/development/python-modules/torch-audiomentations/default.nix index dbfa7cbbb5e2..4ba31489dd6a 100644 --- a/pkgs/development/python-modules/torch-audiomentations/default.nix +++ b/pkgs/development/python-modules/torch-audiomentations/default.nix @@ -23,6 +23,7 @@ buildPythonPackage (finalAttrs: { pname = "torch-audiomentations"; version = "0.12.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "asteroid-team";