17 stdenv.mkDerivation (finalAttrs: {
18 pname = "dbus-test-runner";
19 version = "unstable-2019-10-02";
22 url = "lp:dbus-test-runner";
24 sha256 = "sha256-4yH19X98SVqpviCBIWzIX6FYHWxCbREpuKCNjQuTFDk=";
28 patchShebangs tests/test-wait-outputer
30 # Tests `cat` together build shell scripts
31 # true is a PATHable call, bash a shebang
32 substituteInPlace tests/Makefile.am \
33 --replace '/bin/true' 'true' \
34 --replace '/bin/bash' '${lib.getExe bash}'
41 glib # for autoconf macro, gtester, gdbus
54 (python3.withPackages (ps: with ps; [
60 enableParallelBuilding = true;
62 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
65 "XVFB_RUN=${lib.getExe xvfb-run}"
68 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
71 description = "A small little utility to run a couple of executables under a new DBus session for testing";
72 homepage = "https://launchpad.net/dbus-test-runner";
73 license = licenses.gpl3Only;
74 platforms = platforms.unix;
75 maintainers = teams.lomiri.members;