1 {lib, stdenv, fetchFromGitHub, linuxHeaders}:
3 stdenv.mkDerivation rec {
5 pname = "gfxtablet-uinput-driver";
11 src = fetchFromGitHub {
14 rev = "android-app-${version}";
15 sha256 = "1i2m98yypfa9phshlmvjlgw7axfisxmldzrvnbzm5spvv5s4kvvb";
18 preBuild = "cd driver-uinput";
22 cp networktablet "$out/bin"
23 mkdir -p "$out/share/doc/gfxtablet/"
24 cp ../*.md "$out/share/doc/gfxtablet/"
28 description = "Uinput driver for Android GfxTablet tablet-as-input-device app";
29 mainProgram = "networktablet";
30 license = lib.licenses.mit ;
31 maintainers = [lib.maintainers.raskin];
32 platforms = lib.platforms.linux;