ayatana-indicator-datetime: 24.5.1 -> 25.4.0

Turning off Lomiri features in this derivation, because it now results in a different indicator.
This commit is contained in:
OPNA2608 2025-06-09 14:49:46 +02:00
parent 19597b9c38
commit 247e70e520

View File

@ -25,6 +25,8 @@
systemd, systemd,
tzdata, tzdata,
wrapGAppsHook3, wrapGAppsHook3,
# Generated a different indicator
enableLomiriFeatures ? false,
}: }:
let let
@ -32,13 +34,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "ayatana-indicator-datetime"; pname = "ayatana-indicator-datetime";
version = "24.5.1"; version = "25.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AyatanaIndicators"; owner = "AyatanaIndicators";
repo = "ayatana-indicator-datetime"; repo = "ayatana-indicator-datetime";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-rbKAixFjXOMYzduABmoIXissQXAoehfbkNntdtRyAqA="; hash = "sha256-8E9ucy8I0w9DDzsLtzJgICz/e0TNqOHgls9LrgA5nk4=";
}; };
postPatch = '' postPatch = ''
@ -82,6 +84,8 @@ stdenv.mkDerivation (finalAttrs: {
]) ])
++ (with lomiri; [ ++ (with lomiri; [
cmake-extras cmake-extras
])
++ lib.optionals enableLomiriFeatures (with lomiri; [
lomiri-schemas lomiri-schemas
lomiri-sounds lomiri-sounds
lomiri-url-dispatcher lomiri-url-dispatcher
@ -102,7 +106,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [ cmakeFlags = [
(lib.cmakeBool "GSETTINGS_LOCALINSTALL" true) (lib.cmakeBool "GSETTINGS_LOCALINSTALL" true)
(lib.cmakeBool "GSETTINGS_COMPILE" true) (lib.cmakeBool "GSETTINGS_COMPILE" true)
(lib.cmakeBool "ENABLE_LOMIRI_FEATURES" true) (lib.cmakeBool "ENABLE_LOMIRI_FEATURES" enableLomiriFeatures)
(lib.cmakeBool "ENABLE_TESTS" finalAttrs.finalPackage.doCheck) (lib.cmakeBool "ENABLE_TESTS" finalAttrs.finalPackage.doCheck)
]; ];