2020-04-12 04:50:36 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, glib, pkgconfig, udev, libgudev, doxygen }:
|
2014-01-19 22:14:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libwacom";
|
2020-11-11 14:01:31 +00:00
|
|
|
version = "1.6";
|
2019-09-20 15:30:30 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
2014-01-19 22:14:11 +00:00
|
|
|
|
2018-10-15 06:37:16 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxwacom";
|
|
|
|
repo = "libwacom";
|
|
|
|
rev = "libwacom-${version}";
|
2020-11-11 14:01:31 +00:00
|
|
|
sha256 = "10wphlk5v591mlvcyr6bjqp60zmhbpqg3lmsq9dza738v97ws8ci";
|
2014-01-19 22:14:11 +00:00
|
|
|
};
|
|
|
|
|
2020-04-12 04:50:36 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig meson ninja doxygen ];
|
2019-09-20 15:30:30 +00:00
|
|
|
|
2020-04-12 04:50:36 +00:00
|
|
|
mesonFlags = [ "-Dtests=disabled" ];
|
2019-09-20 15:30:30 +00:00
|
|
|
|
2016-05-23 13:26:30 +00:00
|
|
|
buildInputs = [ glib udev libgudev ];
|
2014-01-19 22:14:11 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://linuxwacom.github.io/";
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
|
2020-04-14 12:55:10 +00:00
|
|
|
maintainers = teams.freedesktop.members;
|
2018-10-11 12:30:46 +00:00
|
|
|
license = licenses.mit;
|
2014-01-19 22:14:11 +00:00
|
|
|
};
|
|
|
|
}
|