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