libdex: 1.0.0 → 1.1.0

https://gitlab.gnome.org/GNOME/libdex/-/compare/1.0.0...1.1.0
This commit is contained in:
Bobby Rong
2026-05-06 23:03:30 +08:00
parent c8008a412e
commit 804ff99480
+11 -2
View File
@@ -11,11 +11,12 @@
glib,
liburing,
gnome,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libdex";
version = "1.0.0";
version = "1.1.0";
outputs = [
"out"
@@ -25,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "mirror://gnome/sources/libdex/${lib.versions.majorMinor finalAttrs.version}/libdex-${finalAttrs.version}.tar.xz";
hash = "sha256-e49cXbN5bhThLhBCLiNWdmuoMLkoFf7nC7yGe1sgf10=";
hash = "sha256-qeBMir7gHJp88RSMW3qma6N37+avbYOAHU/RqlUhmqo=";
};
nativeBuildInputs = [
@@ -35,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
vala
python3
];
buildInputs = [
@@ -48,6 +50,13 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
# test-dbus tries to access /etc/machine-id
postPatch = ''
substituteInPlace "testsuite/meson.build" --replace-fail \
"'test-dbus': {'extra-sources': dbus_foo, 'disable': not have_gdbus_codegen}," \
"'test-dbus': {'extra-sources': dbus_foo, 'disable': true},"
'';
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc"