nixpkgs/pkgs/development/libraries/mtdev/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
956 B
Nix
Raw Normal View History

2023-01-14 19:36:23 +00:00
{ lib, stdenv, fetchurl, evdev-proto }:
stdenv.mkDerivation rec {
2021-06-20 14:15:21 +00:00
pname = "mtdev";
version = "1.1.6";
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";
};
2023-01-14 19:36:23 +00:00
buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD evdev-proto;
meta = with lib; {
2023-01-14 19:37:14 +00:00
homepage = "https://bitmath.org/code/mtdev/";
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.
See the kernel documentation for further details.
'';
2014-10-17 21:24:05 +00:00
license = licenses.mit;
2023-01-14 19:36:23 +00:00
platforms = with platforms; freebsd ++ linux;
};
}