Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
json-glib,
feedbackd,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "feedbackd-device-themes";
version = "0.8.6";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "agx";
repo = "feedbackd-device-themes";
rev = "v${finalAttrs.version}";
hash = "sha256-zRFp+857x5KpjjMLrIx/Ygfk4YtvlA9NLBG7HdTbPYw=";
};
nativeBuildInputs = [
meson
ninja
json-glib # Provides json-glib-validate
];
nativeCheckInputs = [
feedbackd # Provides fbd-theme-validate
];
mesonFlags = [
(lib.mesonOption "validate" (if finalAttrs.doCheck then "enabled" else "disabled"))
];
doCheck = true;
passthru = {
updateScript = nix-update-script { };
};
strictDeps = true;
meta = with lib; {
description = "Device specific feedback themes for Feedbackd";
homepage = "https://gitlab.freedesktop.org/agx/feedbackd-device-themes";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
pacman99
Luflosi
];
platforms = platforms.linux;
};
})