Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
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;
|
|
};
|
|
})
|