16 stdenv.mkDerivation (finalAttrs: {
25 src = fetchFromGitHub {
28 rev = "libwacom-${finalAttrs.version}";
29 hash = "sha256-tJwLcHXXg4tFk7qKQyt+6dcDo8Qykqjn13MfXMoGvKc=";
33 patchShebangs test/check-files-in-git.sh
51 (lib.mesonEnable "tests" finalAttrs.doCheck)
52 (lib.mesonOption "sysconfdir" "/etc")
55 # Tests are in the `tests` pass-through derivation because one of them is flaky, frequently causing build failures.
56 # See https://github.com/NixOS/nixpkgs/issues/328140
61 (python3.withPackages (ps: [
69 tests = finalAttrs.finalPackage.overrideAttrs { doCheck = true; };
73 platforms = lib.platforms.linux;
74 homepage = "https://linuxwacom.github.io/";
75 changelog = "https://github.com/linuxwacom/libwacom/blob/${finalAttrs.src.rev}/NEWS";
76 description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
77 maintainers = lib.teams.freedesktop.members;
78 license = lib.licenses.hpnd;