2018-10-15 07:37:16 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, glib, pkgconfig, udev, libgudev }:
|
2014-01-19 22:14:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-23 14:26:30 +01:00
|
|
|
name = "libwacom-${version}";
|
2018-12-15 13:33:53 +00:00
|
|
|
version = "0.32";
|
2014-01-19 22:14:11 +00:00
|
|
|
|
2018-10-15 07:37:16 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxwacom";
|
|
|
|
repo = "libwacom";
|
|
|
|
rev = "libwacom-${version}";
|
2018-12-15 13:33:53 +00:00
|
|
|
sha256 = "15fz2z2h2awh2l08cv663s1zk4z8bmvvivwnnfvx2q8lkqgfkr7f";
|
2014-01-19 22:14:11 +00:00
|
|
|
};
|
|
|
|
|
2018-10-15 07:37:16 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
2016-05-23 14:26:30 +01:00
|
|
|
buildInputs = [ glib udev libgudev ];
|
2014-01-19 22:14:11 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
2018-10-11 13:30:46 +01:00
|
|
|
homepage = https://linuxwacom.github.io/;
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
|
2018-10-11 13:30:46 +01:00
|
|
|
license = licenses.mit;
|
2014-01-19 22:14:11 +00:00
|
|
|
};
|
|
|
|
}
|