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
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitLab,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
wayfire,
|
|
eudev,
|
|
libinput,
|
|
libxkbcommon,
|
|
librsvg,
|
|
libGL,
|
|
xcbutilwm,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "windecor";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "wayfireplugins";
|
|
repo = "windecor";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-v0kGT+KrtfFJ/hp1Dr8izKVj6UHhuW6udHFjWt1y9TY=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace meson.build \
|
|
--replace "wayfire.get_variable( pkgconfig: 'metadatadir' )" "join_paths(get_option('prefix'), 'share/wayfire/metadata')"
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
wayfire
|
|
eudev
|
|
libinput
|
|
libxkbcommon
|
|
librsvg
|
|
libGL
|
|
xcbutilwm
|
|
];
|
|
|
|
mesonFlags = [ "--sysconfdir=/etc" ];
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/wayfireplugins/windecor";
|
|
description = "Window decoration plugin for wayfire";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ wineee ];
|
|
inherit (wayfire.meta) platforms;
|
|
};
|
|
})
|