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