From 68cf4666c8769f4b151af3edb5eb22508a6a4520 Mon Sep 17 00:00:00 2001 From: Austin Butler Date: Sat, 21 Jan 2023 14:02:09 -0800 Subject: [PATCH 1/2] authenticator: fix incompatibility with pipewire 0.3.64 --- pkgs/applications/misc/authenticator/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/authenticator/default.nix b/pkgs/applications/misc/authenticator/default.nix index 735355107ef2..7bf4beba9d97 100644 --- a/pkgs/applications/misc/authenticator/default.nix +++ b/pkgs/applications/misc/authenticator/default.nix @@ -69,6 +69,11 @@ stdenv.mkDerivation rec { zbar ]; + # https://gitlab.gnome.org/World/Authenticator/-/issues/362 + preBuild = '' + export BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS -DPW_ENABLE_DEPRECATED" + ''; + meta = { description = "Two-factor authentication code generator for GNOME"; homepage = "https://gitlab.gnome.org/World/Authenticator"; From 1c7e7982770fba8758349be2b7d93547b289a66b Mon Sep 17 00:00:00 2001 From: Austin Butler Date: Sat, 21 Jan 2023 18:03:43 -0800 Subject: [PATCH 2/2] authenticator: remove dotlambda as maintainer, add austinbutler --- pkgs/applications/misc/authenticator/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/authenticator/default.nix b/pkgs/applications/misc/authenticator/default.nix index 7bf4beba9d97..5fb336d8de37 100644 --- a/pkgs/applications/misc/authenticator/default.nix +++ b/pkgs/applications/misc/authenticator/default.nix @@ -78,7 +78,7 @@ stdenv.mkDerivation rec { description = "Two-factor authentication code generator for GNOME"; homepage = "https://gitlab.gnome.org/World/Authenticator"; license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ dotlambda ]; + maintainers = with lib.maintainers; [ austinbutler ]; platforms = lib.platforms.linux; }; }