about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libwacom/default.nix
blob: 0b350c15026f619f37504526304f9f540c141492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, meson, ninja, glib, pkgconfig, udev, libgudev }:

stdenv.mkDerivation rec {
  pname = "libwacom";
  version = "1.1";

  outputs = [ "out" "dev" ];

  src = fetchFromGitHub {
    owner = "linuxwacom";
    repo = "libwacom";
    rev = "libwacom-${version}";
    sha256 = "037vnyfg7nim6h3f4m04w6a9pr6hi04df14qpys580kf5xnf87nz";
  };

  nativeBuildInputs = [ pkgconfig meson ninja ];

  mesonFlags = [ "-Dtests=false" ];

  buildInputs = [ glib udev libgudev ];

  meta = with stdenv.lib; {
    platforms = platforms.linux;
    homepage = "https://linuxwacom.github.io/";
    description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
    license = licenses.mit;
  };
}