nixpkgs/pkgs/development/libraries/libwacom/default.nix

30 lines
800 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, glib, pkg-config, udev, libgudev, doxygen }:
2014-01-19 22:14:11 +00:00
stdenv.mkDerivation rec {
pname = "libwacom";
2021-01-20 02:02:48 +00:00
version = "1.7";
2019-09-20 16:30:30 +01:00
outputs = [ "out" "dev" ];
2014-01-19 22:14:11 +00:00
src = fetchFromGitHub {
owner = "linuxwacom";
repo = "libwacom";
rev = "libwacom-${version}";
2021-01-20 02:02:48 +00:00
sha256 = "sha256-kF4Q3ACiVlUbEjS2YqwHA42QknKMLqX9US31PmXtS/I=";
2014-01-19 22:14:11 +00:00
};
nativeBuildInputs = [ pkg-config meson ninja doxygen ];
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
meta = with lib; {
2014-01-19 22:14:11 +00:00
platforms = platforms.linux;
homepage = "https://linuxwacom.github.io/";
description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
2020-04-14 13:55:10 +01:00
maintainers = teams.freedesktop.members;
license = licenses.mit;
2014-01-19 22:14:11 +00:00
};
}