servo, pyopen-wakeword: mark broken on Darwin; drop python-u2flib-server (#459712)

This commit is contained in:
Martin Weinelt
2025-11-08 11:26:30 +00:00
committed by GitHub
5 changed files with 6 additions and 56 deletions
+2
View File
@@ -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;
@@ -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";
@@ -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 ];
};
}
+1
View File
@@ -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
-2
View File
@@ -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 { };