committed by
Nikolay Amiantov
parent
4cf02e648d
commit
e90ab768ce
@@ -3,6 +3,7 @@
|
||||
, documentationSupport ? false, doxygen ? null, graphviz ? null # Documentation
|
||||
, eventGUISupport ? false, cairo ? null, glib ? null, gtk3 ? null # GUI event viewer support
|
||||
, testsSupport ? false, check ? null, valgrind ? null
|
||||
, autoconf, automake
|
||||
}:
|
||||
|
||||
assert documentationSupport -> doxygen != null && graphviz != null;
|
||||
@@ -32,13 +33,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ libevdev mtdev libwacom ]
|
||||
buildInputs = [ libevdev mtdev libwacom autoconf automake ]
|
||||
++ optionals eventGUISupport [ cairo glib gtk3 ]
|
||||
++ optionals documentationSupport [ doxygen graphviz ]
|
||||
++ optionals testsSupport [ check valgrind ];
|
||||
|
||||
propagatedBuildInputs = [ udev ];
|
||||
|
||||
patches = [ ./udev-absolute-path.patch ];
|
||||
patchFlags = [ "-p0" ];
|
||||
|
||||
meta = {
|
||||
description = "Handles input devices in Wayland compositors and provides a generic X.Org input driver";
|
||||
homepage = http://www.freedesktop.org/wiki/Software/libinput;
|
||||
|
||||
Reference in New Issue
Block a user