2021-05-19 21:55:59 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, glib, pkg-config, udev, libgudev, doxygen, python3 }:
|
2014-01-19 22:14:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libwacom";
|
2021-08-14 15:10:27 +01:00
|
|
|
version = "1.11";
|
2019-09-20 16:30:30 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
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}";
|
2021-08-14 15:10:27 +01:00
|
|
|
sha256 = "sha256-HDBWycdZf/pUL7ZzCuF55tfby3GW0WW6Vq3htPWT1v4=";
|
2014-01-19 22:14:11 +00:00
|
|
|
};
|
|
|
|
|
2021-05-19 21:55:59 +01:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja doxygen python3 ];
|
2019-09-20 16:30:30 +01:00
|
|
|
|
2020-04-12 05:50:36 +01:00
|
|
|
mesonFlags = [ "-Dtests=disabled" ];
|
2019-09-20 16:30:30 +01:00
|
|
|
|
2016-05-23 14:26:30 +01:00
|
|
|
buildInputs = [ glib udev libgudev ];
|
2014-01-19 22:14:11 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-01-19 22:14:11 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 02:11:51 +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";
|
2020-04-14 13:55:10 +01:00
|
|
|
maintainers = teams.freedesktop.members;
|
2018-10-11 13:30:46 +01:00
|
|
|
license = licenses.mit;
|
2014-01-19 22:14:11 +00:00
|
|
|
};
|
|
|
|
}
|