17 stdenv.mkDerivation rec {
18 pname = "libgaminggear";
22 url = "mirror://sourceforge/libgaminggear/${pname}-${version}.tar.bz2";
23 sha256 = "0jf5i1iv8j842imgiixbhwcr6qcwa93m27lzr6gb01ri5v35kggz";
38 propagatedBuildInputs = [
49 "-DINSTALL_CMAKE_MODULESDIR=lib/cmake"
50 "-DINSTALL_PKGCONFIGDIR=lib/pkgconfig"
51 "-DINSTALL_LIBDIR=lib"
54 # https://sourceforge.net/p/libgaminggear/discussion/general/thread/b43a776b3a/
55 env.NIX_CFLAGS_COMPILE = toString [ "-I${harfbuzz.dev}/include/harfbuzz" ];
58 moveToOutput bin "$bin"
62 description = "Provides functionality for gaming input devices";
63 homepage = "https://sourceforge.net/projects/libgaminggear/";
64 platforms = lib.platforms.linux;
65 license = lib.licenses.gpl2Plus;