8 stdenv.mkDerivation rec {
13 url = "https://bitmath.org/code/mtdev/${pname}-${version}.tar.bz2";
14 hash = "sha256-oQetrSEB/srFSsf58OCg3RVdlUGT2lXCNAyX8v8dgU4=";
17 buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD evdev-proto;
19 passthru.updateScript = gitUpdater {
20 url = "https://bitmath.org/git/mtdev.git";
25 homepage = "https://bitmath.org/code/mtdev/";
26 description = "Multitouch Protocol Translation Library";
27 mainProgram = "mtdev-test";
29 The mtdev is a stand-alone library which transforms all variants of
30 kernel MT events to the slotted type B protocol. The events put into
31 mtdev may be from any MT device, specifically type A without contact
32 tracking, type A with contact tracking, or type B with contact tracking.
33 See the kernel documentation for further details.
35 license = licenses.mit;
36 platforms = with platforms; freebsd ++ linux;