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:
Jörg Thalheim 2022-08-15 06:12:12 +01:00 committed by GitHub
commit 29136a94b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};