Skip to content

Commit

Permalink
swayfx-unwrapped: 0.3.2 -> 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
eclairevoyant committed Apr 29, 2024
1 parent 21a82bb commit 32615de
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions pkgs/by-name/sw/swayfx-unwrapped/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,17 @@
json_c,
libevdev,
scdoc,
scenefx,
wayland-scanner,
xcbutilwm,
wlroots_0_16,
wlroots,
# Used by the NixOS module:
isNixOS ? false,
enableXWayland ? true,
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
trayEnabled ? systemdSupport,
}:

let
wlroots = wlroots_0_16;
in
stdenv.mkDerivation (finalAttrs: {
inherit
enableXWayland
Expand All @@ -44,13 +42,13 @@ stdenv.mkDerivation (finalAttrs: {
;

pname = "swayfx-unwrapped";
version = "0.3.2";
version = "0.4";

src = fetchFromGitHub {
owner = "WillPower3309";
repo = "swayfx";
rev = finalAttrs.version;
sha256 = "sha256-Gwewb0yDVhEBrefSSGDf1hLtpWcntzifPCPJQhqLqI0=";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-VT+JjQPqCIdtaLeSnRiZ3rES0KgDJR7j5Byxr+d6oRg=";
};

patches =
Expand Down Expand Up @@ -80,24 +78,25 @@ stdenv.mkDerivation (finalAttrs: {
meson
ninja
pkg-config
wayland-scanner
scdoc
wayland-scanner
];

buildInputs = [
libGL
wayland
libxkbcommon
pcre2
cairo
gdk-pixbuf
json_c
libdrm
libevdev
pango
cairo
libGL
libinput
gdk-pixbuf
librsvg
libxkbcommon
pango
pcre2
scenefx
wayland
wayland-protocols
libdrm
(wlroots.override { inherit (finalAttrs) enableXWayland; })
] ++ lib.optionals finalAttrs.enableXWayland [ xcbutilwm ];

Expand Down

0 comments on commit 32615de

Please sign in to comment.