nixpkgs/pkgs/os-specific/linux/xf86-input-mtrack/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

45 lines
797 B
Nix

{
stdenv
, fetchurl
, utilmacros
, pkgconfig
, mtdev
, xorgserver
, xproto
, inputproto
, pixman
, autoreconfHook
}:
stdenv.mkDerivation {
name = "xf86-input-mtrack-0.3.0";
buildInputs = [
utilmacros
pkgconfig
mtdev
xorgserver
xproto
inputproto
pixman
autoreconfHook
];
CFLAGS = "-I${pixman}/include/pixman-1";
src = fetchurl {
name = "xf86-input-mtrack.tar.gz";
url = "https://github.com/BlueDragonX/xf86-input-mtrack/tarball/v0.3.0";
sha256 = "174rdw7gv0wsnjgmwpx4pgjn1zfbylflda4k2dzff6phzxj9yl6v";
};
meta = {
homepage = https://github.com/BlueDragonX/xf86-input-mtrack;
description = "An Xorg driver for multitouch trackpads";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}