Commit 247e70e5 authored by OPNA2608's avatar OPNA2608
Browse files

ayatana-indicator-datetime: 24.5.1 -> 25.4.0

Turning off Lomiri features in this derivation, because it now results in a different indicator.
parent 19597b9c
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@
  systemd,
  tzdata,
  wrapGAppsHook3,
  # Generated a different indicator
  enableLomiriFeatures ? false,
}:

let
@@ -32,13 +34,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "ayatana-indicator-datetime";
  version = "24.5.1";
  version = "25.4.0";

  src = fetchFromGitHub {
    owner = "AyatanaIndicators";
    repo = "ayatana-indicator-datetime";
    tag = finalAttrs.version;
    hash = "sha256-rbKAixFjXOMYzduABmoIXissQXAoehfbkNntdtRyAqA=";
    hash = "sha256-8E9ucy8I0w9DDzsLtzJgICz/e0TNqOHgls9LrgA5nk4=";
  };

  postPatch = ''
@@ -82,6 +84,8 @@ stdenv.mkDerivation (finalAttrs: {
    ])
    ++ (with lomiri; [
      cmake-extras
    ])
    ++ lib.optionals enableLomiriFeatures (with lomiri; [
      lomiri-schemas
      lomiri-sounds
      lomiri-url-dispatcher
@@ -102,7 +106,7 @@ stdenv.mkDerivation (finalAttrs: {
  cmakeFlags = [
    (lib.cmakeBool "GSETTINGS_LOCALINSTALL" 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)
  ];