depot/third_party/nixpkgs/pkgs/development/libraries/libwacom/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
800 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, ninja, glib, pkg-config, udev, libgudev, doxygen }:
stdenv.mkDerivation rec {
pname = "libwacom";
version = "1.7";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "linuxwacom";
repo = "libwacom";
rev = "libwacom-${version}";
sha256 = "sha256-kF4Q3ACiVlUbEjS2YqwHA42QknKMLqX9US31PmXtS/I=";
};
nativeBuildInputs = [ pkg-config meson ninja doxygen ];
mesonFlags = [ "-Dtests=disabled" ];
buildInputs = [ glib udev libgudev ];
meta = with 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;
};
}