mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
29 lines
734 B
Nix
29 lines
734 B
Nix
{ 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;
|
|
};
|
|
}
|