2023-01-14 19:36:23 +00:00
|
|
|
{ lib, stdenv, fetchurl, evdev-proto }:
|
2011-08-08 00:25:38 +00:00
|
|
|
|
2012-03-20 01:48:09 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 14:15:21 +00:00
|
|
|
pname = "mtdev";
|
|
|
|
version = "1.1.6";
|
2011-08-08 00:25:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 14:15:21 +00:00
|
|
|
url = "https://bitmath.org/code/mtdev/${pname}-${version}.tar.bz2";
|
2020-02-01 10:02:26 +00:00
|
|
|
sha256 = "1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm";
|
2011-08-08 00:25:38 +00:00
|
|
|
};
|
2011-08-08 00:25:46 +00:00
|
|
|
|
2023-01-14 19:36:23 +00:00
|
|
|
buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD evdev-proto;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2023-01-14 19:37:14 +00:00
|
|
|
homepage = "https://bitmath.org/code/mtdev/";
|
2011-08-08 00:25:46 +00:00
|
|
|
description = "Multitouch Protocol Translation Library";
|
|
|
|
longDescription = ''
|
|
|
|
The mtdev is a stand-alone library which transforms all variants of
|
|
|
|
kernel MT events to the slotted type B protocol. The events put into
|
|
|
|
mtdev may be from any MT device, specifically type A without contact
|
|
|
|
tracking, type A with contact tracking, or type B with contact tracking.
|
2019-01-26 10:01:09 +00:00
|
|
|
See the kernel documentation for further details.
|
2011-08-08 00:25:46 +00:00
|
|
|
'';
|
2014-10-17 21:24:05 +00:00
|
|
|
license = licenses.mit;
|
2023-01-14 19:36:23 +00:00
|
|
|
platforms = with platforms; freebsd ++ linux;
|
2011-08-08 00:25:46 +00:00
|
|
|
};
|
2011-08-08 00:25:38 +00:00
|
|
|
}
|