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}";
|
2019-04-15 08:29:21 +02:00
|
|
|
version = "0.33";
|
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}";
|
2019-04-15 08:29:21 +02:00
|
|
|
sha256 = "0np0a7rpnlm9iqw1i8ycz5mprin6bb99p4h522v9vjk4lhzsp34m";
|
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
|
|
|
};
|
|
|
|
}
|