budgie-analogue-clock-applet: Fix build with budgie-desktop 10.10.0

This commit is contained in:
Bobby Rong
2026-02-01 14:07:41 +08:00
parent 2ea7cdf2e9
commit fc7f7db23f
@@ -15,13 +15,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-analogue-clock-applet";
version = "2.2";
version = "2.2-unstable-2026-01-13";
src = fetchFromGitHub {
owner = "samlane-ma";
repo = "analogue-clock-applet";
rev = "v${finalAttrs.version}";
hash = "sha256-8kqDEzcUqg/TvwpazYQt1oQDVC00fOxFLVsKYMDuV9I=";
rev = "22b04faeea8f95eb83ad96ae89529560811d76d9";
hash = "sha256-8ZFExgE1aJ8XN4+ugSzI34UjdPHbtbhJ+3xetcLZ6sg=";
};
nativeBuildInputs = [
@@ -38,18 +38,6 @@ stdenv.mkDerivation (finalAttrs: {
libpeas2
];
postPatch = ''
# https://github.com/samlane-ma/analogue-clock-applet/issues/7
substituteInPlace budgie-analogue-clock-widget/src/meson.build \
--replace-fail "dependency('budgie-raven-plugin-1.0')" "dependency('budgie-raven-plugin-2.0')"
'';
mesonFlags = [
# The meson option actually enables libpeas2 support
# https://github.com/BuddiesOfBudgie/budgie-desktop/issues/749
"-Dfor-wayland=true"
];
passthru = {
updateScript = nix-update-script { };
};