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

29 lines
734 B
Nix
Raw Normal View History

2019-09-20 15:30:30 +00:00
{ stdenv, fetchFromGitHub, meson, ninja, glib, pkgconfig, udev, libgudev }:
2014-01-19 22:14:11 +00:00
stdenv.mkDerivation rec {
pname = "libwacom";
2019-09-20 15:30:30 +00:00
version = "1.1";
outputs = [ "out" "dev" ];
2014-01-19 22:14:11 +00:00
src = fetchFromGitHub {
owner = "linuxwacom";
repo = "libwacom";
rev = "libwacom-${version}";
2019-09-20 15:30:30 +00:00
sha256 = "037vnyfg7nim6h3f4m04w6a9pr6hi04df14qpys580kf5xnf87nz";
2014-01-19 22:14:11 +00:00
};
2019-09-20 15:30:30 +00:00
nativeBuildInputs = [ pkgconfig meson ninja ];
mesonFlags = [ "-Dtests=false" ];
2016-05-23 13:26:30 +00:00
buildInputs = [ glib udev libgudev ];
2014-01-19 22:14:11 +00:00
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;
2014-01-19 22:14:11 +00:00
};
}