nixpkgs-suyu/pkgs/development/libraries/libinput/default.nix
William A. Kennington III c79eac4c79 libinput: Add derivation
2014-10-17 14:26:45 -07:00

20 lines
654 B
Nix

{ stdenv, fetchurl, pkgconfig, mtdev, udev, libevdev }:
stdenv.mkDerivation rec {
name = "libinput-0.6.0";
src = fetchurl {
url = "http://www.freedesktop.org/software/libinput/${name}.tar.xz";
sha256 = "1g5za42f60vw87982vjh0n6r78qajj34l323p7623fbw3rvmbd9h";
};
buildInputs = [ pkgconfig mtdev udev libevdev ];
meta = with stdenv.lib; {
homepage = http://www.freedesktop.org/wiki/Software/libinput;
description = "handles input devices in Wayland compositors and to provide a generic X.Org input driver";
platforms = platforms.unix;
license = licenses.mit;
maintainers = with maintainers; [ wkennington ];
};
}