depot/third_party/nixpkgs/pkgs/development/libraries/libwacom/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

29 lines
801 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, glib, pkgconfig, udev, libgudev, doxygen }:
stdenv.mkDerivation rec {
pname = "libwacom";
version = "1.5";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "linuxwacom";
repo = "libwacom";
rev = "libwacom-${version}";
sha256 = "1a3qkzpkag1vqd2xl7b7f2b8kbg1y1g6gg5ydzb1ppyqw3zdjf9x";
};
nativeBuildInputs = [ pkgconfig meson ninja doxygen ];
mesonFlags = [ "-Dtests=disabled" ];
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";
maintainers = teams.freedesktop.members;
license = licenses.mit;
};
}