Merge pull request #186748 from amjoseph-nixpkgs/pr/rust/default-crate-overrides/evdev-sys
default-crate-overrides.nix: add libevdev for evdev-rs
This commit is contained in:
commit
29136a94b9
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
, freetype
|
||||
, rdkafka
|
||||
, udev
|
||||
, libevdev
|
||||
, ...
|
||||
}:
|
||||
|
||||
|
@ -65,6 +66,12 @@ in
|
|||
buildInputs = [ dbus ];
|
||||
};
|
||||
|
||||
evdev-sys = attrs: {
|
||||
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libevdev ];
|
||||
};
|
||||
|
||||
expat-sys = attrs: {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue