wayfirePlugins.wayfire-shadows: init at unstable-2023-09-09

This commit is contained in:
rewine 2024-03-23 21:54:16 +08:00 committed by Bobby Rong
parent 54b435377c
commit cec9c1f930
No known key found for this signature in database
2 changed files with 58 additions and 0 deletions

View File

@ -6,6 +6,7 @@ lib.makeScope pkgs.newScope (self:
in {
firedecor = callPackage ./firedecor.nix { };
wayfire-plugins-extra = callPackage ./wayfire-plugins-extra.nix { };
wayfire-shadows = callPackage ./wayfire-shadows.nix { };
wcm = callPackage ./wcm.nix { };
wf-shell = callPackage ./wf-shell.nix { };
windecor = callPackage ./windecor.nix { };

View File

@ -0,0 +1,57 @@
{ stdenv
, lib
, fetchFromGitHub
, unstableGitUpdater
, meson
, ninja
, pkg-config
, wayfire
, wayland
, wf-config
, cairo
, pango
, libxkbcommon
, libGL
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wayfire-shadows";
version = "unstable-2023-09-09";
src = fetchFromGitHub {
owner = "timgott";
repo = "wayfire-shadows";
rev = "de3239501fcafd1aa8bd01d703aa9469900004c5";
hash = "sha256-oVlSzpddPDk6pbyLFMhAkuRffkYpinP7jRspVmfLfyA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
wayfire
wayland
wf-config
cairo
pango
libxkbcommon
libGL
];
env = {
PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata";
};
passthru.updateScript = unstableGitUpdater { };
meta = {
homepage = "https://github.com/timgott/wayfire-shadows";
description = "Wayfire plugin that adds window shadows";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rewine ];
inherit (wayfire.meta) platforms;
};
})