Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pkgs/os-specific/linux/libratbag/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
, glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3
, json-glib, libunistring }:
, json-glib, libunistring, wrapGAppsHook3, gobject-introspection }:

stdenv.mkDerivation rec {
pname = "libratbag";
Expand All @@ -14,12 +14,13 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [
meson ninja pkg-config gitMinimal swig check valgrind
meson ninja pkg-config gitMinimal swig check valgrind wrapGAppsHook3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the wrapper to find glib typelibs, wrapGAppsNoGuiHook should be sufficient

];

buildInputs = [
glib systemd udev libevdev json-glib libunistring
(python3.withPackages (ps: with ps; [ evdev pygobject3 ]))
gobject-introspection # ratbagctl needs this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs it for setup hook, so it should go to nativeBuildInputs.

];

mesonFlags = [
Expand Down