1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "mtdev";
5 version = "1.1.6";
6
7 src = fetchurl {
8 url = "https://bitmath.org/code/mtdev/${pname}-${version}.tar.bz2";
9 sha256 = "1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm";
10 };
11
12 meta = with lib; {
13 homepage = "http://bitmath.org/code/mtdev/";
14 description = "Multitouch Protocol Translation Library";
15 longDescription = ''
16 The mtdev is a stand-alone library which transforms all variants of
17 kernel MT events to the slotted type B protocol. The events put into
18 mtdev may be from any MT device, specifically type A without contact
19 tracking, type A with contact tracking, or type B with contact tracking.
20 See the kernel documentation for further details.
21 '';
22 license = licenses.mit;
23 platforms = platforms.linux;
24 };
25}