diff --git a/pkgs/by-name/li/libdex/package.nix b/pkgs/by-name/li/libdex/package.nix index aac7ef64c3b6..ad6f4543be9b 100644 --- a/pkgs/by-name/li/libdex/package.nix +++ b/pkgs/by-name/li/libdex/package.nix @@ -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"