glib-testing: 0.1.1 → 0.2.0

https://gitlab.gnome.org/pwithnall/libglib-testing/-/compare/0.1.1...0.2.0

The newly introduced `/dbus-queue/activatable-name` test is skipped because it depends on https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5094.
But even with that applied, all tests pass with `/bin/true` in the service file. But let’s fix it just to be safe.
This commit is contained in:
Jan Tojnar
2026-03-20 09:08:25 +01:00
parent 24900894dc
commit 7e0aee2bc9
+9 -2
View File
@@ -5,6 +5,7 @@
meson,
ninja,
pkg-config,
coreutils,
gtk-doc,
docbook-xsl-nons,
docbook_xml_dtd_43,
@@ -14,7 +15,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "glib-testing";
version = "0.1.1";
version = "0.2.0";
outputs = [
"out"
@@ -28,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "pwithnall";
repo = "libglib-testing";
rev = finalAttrs.version;
sha256 = "U3epLDdLES7MA71z7Q1WXMjzySTFERWBU0u8poObbEo=";
hash = "sha256-OgKWC4plX4oiIakd/8bHtyiuZijV58URILXUHQqFMW8=";
};
patches = [
@@ -54,6 +55,12 @@ stdenv.mkDerivation (finalAttrs: {
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
];
postPatch = ''
# Note: Does not appear to be needed by anything.
substituteInPlace libglib-testing/dbus-queue.c \
--replace-fail 'Exec=/bin/true' 'Exec=${coreutils}/bin/true'
'';
passthru = {
tests = {
installedTests = nixosTests.installed-tests.glib-testing;