depot/third_party/nixpkgs/pkgs/development/libraries/libwacom/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

50 lines
849 B
Nix

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