From 59f3b353ae5a57ff0d14cdecddbb6d1a60520bdb Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 6 Nov 2025 16:25:05 -0800 Subject: [PATCH 1/2] python3Packages.ssdpy: remove 'with lib;' --- pkgs/development/python-modules/ssdpy/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ssdpy/default.nix b/pkgs/development/python-modules/ssdpy/default.nix index 8cadb4ec74fa..e5ca5549bfdc 100644 --- a/pkgs/development/python-modules/ssdpy/default.nix +++ b/pkgs/development/python-modules/ssdpy/default.nix @@ -39,11 +39,13 @@ buildPythonPackage rec { "test_server_extra_fields" ]; - meta = with lib; { + __darwinAllowLocalNetworking = true; + + meta = { changelog = "https://github.com/MoshiBin/ssdpy/releases/tag/${version}"; description = "Lightweight, compatible SSDP library for Python"; homepage = "https://github.com/MoshiBin/ssdpy"; - license = licenses.mit; - maintainers = with maintainers; [ mjm ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ mjm ]; }; } From b219e71abf3ba6a9fd2ce8b6e56953db58292253 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 8 Nov 2025 11:31:58 -0800 Subject: [PATCH 2/2] python3Packages.ssdpy: mark as broken on Darwin --- pkgs/development/python-modules/ssdpy/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ssdpy/default.nix b/pkgs/development/python-modules/ssdpy/default.nix index e5ca5549bfdc..1538fd5042c2 100644 --- a/pkgs/development/python-modules/ssdpy/default.nix +++ b/pkgs/development/python-modules/ssdpy/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, setuptools, @@ -39,13 +40,13 @@ buildPythonPackage rec { "test_server_extra_fields" ]; - __darwinAllowLocalNetworking = true; - meta = { changelog = "https://github.com/MoshiBin/ssdpy/releases/tag/${version}"; description = "Lightweight, compatible SSDP library for Python"; homepage = "https://github.com/MoshiBin/ssdpy"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mjm ]; + # Darwin's network interface names have changed since the package was last updated + broken = stdenv.hostPlatform.isDarwin; }; }