mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
0a9a03f95e
Remove doxygen, it was never installed and upstream now does not even build it by default. Also reformat the expression.
51 lines
848 B
Nix
51 lines
848 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, glib
|
|
, pkg-config
|
|
, udev
|
|
, libgudev
|
|
, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libwacom";
|
|
version = "1.12";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxwacom";
|
|
repo = "libwacom";
|
|
rev = "libwacom-${version}";
|
|
sha256 = "sha256-pCO0lB0liveIEZIxY3IJcqlmWy4rYhSBtRPssfzHEow=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|