10 , gobject-introspection
22 stdenv.mkDerivation rec {
26 src = fetchFromGitLab {
27 domain = "gitlab.freedesktop.org";
31 sha256 = "sha256-6m4Yrev9W5WV4/pptc8tJ4hc6QSC+eJ7BSt2mx33s9U=";
35 # meson install tries to create /var/lib/boltd
36 ./0001-skip-mkdir.patch
38 # Test does not work on ZFS with atime disabled.
39 # Upstream issue: https://gitlab.freedesktop.org/bolt/bolt/-/issues/167
41 url = "https://gitlab.freedesktop.org/bolt/bolt/-/commit/c2f1d5c40ad71b20507e02faa11037b395fac2f8.diff";
43 sha256 = "6w7ll65W/CydrWAVi/qgzhrQeDv1PWWShulLxoglF+I=";
61 ] ++ lib.optional (!doCheck) python3;
68 # https://gitlab.freedesktop.org/bolt/bolt/-/issues/181
72 export LD_LIBRARY_PATH=${umockdev.out}/lib/
79 (python3.pythonOnBuildForHost.withPackages
80 (p: [ p.pygobject3 p.dbus-python p.python-dbusmock ]))
84 patchShebangs scripts tests
88 "-Dlocalstatedir=/var"
91 PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
92 PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev";
95 description = "Thunderbolt 3 device management daemon";
96 mainProgram = "boltctl";
97 homepage = "https://gitlab.freedesktop.org/bolt/bolt";
98 license = licenses.lgpl21Plus;
99 maintainers = with maintainers; [ callahad ];
100 platforms = platforms.linux;