From fa5ab239989ff614b526e62761e7edcd79a2b413 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 8 Nov 2025 11:45:54 +0100 Subject: [PATCH 1/3] python3Packages.pyopen-wakeword: mark broken on darwin Fails automatic application of patchelf. Waiting for a source-built libtflite. --- pkgs/development/python-modules/pyopen-wakeword/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pyopen-wakeword/default.nix b/pkgs/development/python-modules/pyopen-wakeword/default.nix index 79114e2b493a..2f5255d364c5 100644 --- a/pkgs/development/python-modules/pyopen-wakeword/default.nix +++ b/pkgs/development/python-modules/pyopen-wakeword/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, autoPatchelfHook, buildPythonPackage, fetchFromGitHub, @@ -45,6 +46,8 @@ buildPythonPackage rec { ]; meta = { + # elftools.common.exceptions.ELFError: Magic number does not match + broken = stdenv.hostPlatform.isDarwin; description = "Alternative Python library for openWakeWord"; homepage = "https://github.com/rhasspy/pyopen-wakeword"; changelog = "https://github.com/rhasspy/pyopen-wakeword/blob/${src.tag}/CHANGELOG.md"; From bc3b386ab4121f59ea963a075fec4129de5188c0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 8 Nov 2025 11:50:45 +0100 Subject: [PATCH 2/3] python3Packages.python-u2flib-server: drop Broken leaf package and archived upstream. --- .../python-u2flib-server/default.nix | 54 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 pkgs/development/python-modules/python-u2flib-server/default.nix diff --git a/pkgs/development/python-modules/python-u2flib-server/default.nix b/pkgs/development/python-modules/python-u2flib-server/default.nix deleted file mode 100644 index fa93cb83fce8..000000000000 --- a/pkgs/development/python-modules/python-u2flib-server/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - - # propagates - cryptography, - six, - - # optional - webob, - - # tests - pytestCheckHook, -}: - -buildPythonPackage rec { - pname = "python-u2flib-server"; - version = "5.0.1"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "Yubico"; - repo = "python-u2flib-server"; - rev = version; - hash = "sha256-ginP9u+aHcdaWpwcFYJWu0Ghf7+nDZq9i3TVAacIPhg="; - }; - - patches = [ ./cryptography-37-compat.patch ]; - - propagatedBuildInputs = [ - cryptography - six - ]; - - optional-dependencies = { - u2f_server = [ webob ]; - }; - - pythonImportsCheck = [ - "u2flib_server" - "u2flib_server.u2f" - ]; - - nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.u2f_server; - - meta = with lib; { - description = "Python based U2F server library"; - homepage = "https://github.com/Yubico/python-u2flib-server"; - changelog = "https://github.com/Yubico/python-u2flib-server/blob/${src.rev}/NEWS"; - license = licenses.bsd2; - maintainers = with maintainers; [ hexa ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index bd55bef928de..3e414d290a60 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -364,6 +364,7 @@ mapAliases { python-lz4 = throw "'python-lz4' has been renamed to/replaced by 'lz4'"; # Converted to throw 2025-10-29 python-simple-hipchat = throw "'python-simple-hipchat' has been removed because it was broken and unmaintained"; # added 2025-08-26 python-subunit = throw "'python-subunit' has been renamed to/replaced by 'subunit'"; # Converted to throw 2025-10-29 + python-u2flib-server = throw "'python-u2flib-server' has been removed, since it was broken and archived upstream"; # added 2025-11-08 python-unshare = throw "python-unshare was removed as unmaintained since 2016"; # added 2025-05-25 python_docs_theme = throw "'python_docs_theme' has been renamed to/replaced by 'python-docs-theme'"; # Converted to throw 2025-10-29 python_fedora = throw "'python_fedora' has been renamed to/replaced by 'python-fedora'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ecc31ff35bc8..8a1afebd819d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15312,8 +15312,6 @@ self: super: with self; { python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { }; - python-u2flib-server = callPackage ../development/python-modules/python-u2flib-server { }; - python-uinput = callPackage ../development/python-modules/python-uinput { }; python-ulid = callPackage ../development/python-modules/python-ulid { }; From f5f8aab9648946d152652b19bdf52222f97ba8ef Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 8 Nov 2025 11:54:37 +0100 Subject: [PATCH 3/3] servo: mark broken on darwin = note: Undefined symbols for architecture arm64: "typeinfo for js::BaseProxyHandler", referenced from: typeinfo for ForwardingProxyHandler in libmozjs_sys-aaa8b4d8213d86fd.rlib(702045c0c9daef17-jsglue.o) "typeinfo for js::Wrapper", referenced from: typeinfo for WrapperProxyHandler in libmozjs_sys-aaa8b4d8213d86fd.rlib(702045c0c9daef17-jsglue.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) --- pkgs/by-name/se/servo/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix index 1a17596d64f5..6ec0104350f5 100644 --- a/pkgs/by-name/se/servo/package.nix +++ b/pkgs/by-name/se/servo/package.nix @@ -180,6 +180,8 @@ rustPlatform.buildRustPackage { }; meta = { + # undefined libmozjs_sys symbols during linking + broken = stdenv.hostPlatform.isDarwin; description = "Embeddable, independent, memory-safe, modular, parallel web rendering engine"; homepage = "https://servo.org"; license = lib.licenses.mpl20;