waytrogen: 0.9.5 -> 0.9.8 (#525609)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-07 14:58:04 +00:00
committed by GitHub
+57 -10
View File
@@ -4,7 +4,6 @@
rustPlatform,
pkg-config,
wrapGAppsHook4,
glib,
nix-update-script,
stdenv,
meson,
@@ -14,22 +13,37 @@
sqlite,
openssl,
desktop-file-utils,
bash,
dbus,
gtk4,
ffmpeg,
libx11,
libxcursor,
libxrandr,
libxi,
libxcb,
libxkbcommon,
vulkan-loader,
wayland,
xdg-utils,
xdg-desktop-portal,
libGL,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "waytrogen";
version = "0.9.5";
version = "0.9.8";
src = fetchFromGitHub {
owner = "nikolaizombie1";
repo = "waytrogen";
tag = finalAttrs.version;
hash = "sha256-+1HiTmJAkhd+zbLAyRRk9tHDbR7qcslkfJ2HyGipZCo=";
hash = "sha256-Nf1qPIFlhQl5T3RYVK4GMinO2vOJDNoYBrrVY93VF0Q=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-UKd/h/O9EE7gZ8B+QtFVGJEit0BIQ0OC0CG/GLYzMEo=";
hash = "sha256-EXP6Mt04Z+2ag2BhihzAtjwPGE82Ig6GoD1Vgor7oHc=";
};
nativeBuildInputs = [
@@ -41,30 +55,62 @@ stdenv.mkDerivation (finalAttrs: {
cargo
rustc
desktop-file-utils
bash
dbus
sqlite
gtk4
dbus
xdg-utils
xdg-desktop-portal
];
buildInputs = [
glib
sqlite
openssl
gtk4
ffmpeg
libx11
libxcursor
libxrandr
libxi
libxcb
libxkbcommon
vulkan-loader
wayland
dbus
xdg-utils
xdg-desktop-portal
];
preBuild = "export OUT_PATH=$out";
env = {
OPENSSL_NO_VENDOR = 1;
};
mesonFlags = [ "-Dcargo_features=nixos" ];
passthru = {
updateScript = nix-update-script { };
tests = { };
};
passthru.updateScript = nix-update-script { };
preFixup = ''
gappsWrapperArgs+=(
--suffix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
wayland
libxkbcommon
vulkan-loader
libGL
dbus
]
}
)
'';
meta = {
description = "Lightning fast wallpaper setter for Wayland";
longDescription = ''
A GUI wallpaper setter for Wayland that is a spiritual successor
for the minimalistic wallpaper changer for X11 nitrogen. Written purely
in the Rust 🦀 programming language. Supports hyprpaper, swaybg, mpvpaper and swww wallpaper changers.
in the Rust 🦀 programming language. Supports hyprpaper, swaybg, mpvpaper, swww and gSlapper wallpaper changers.
'';
homepage = "https://github.com/nikolaizombie1/waytrogen";
changelog = "https://github.com/nikolaizombie1/waytrogen/releases/tag/${finalAttrs.version}";
@@ -75,5 +121,6 @@ stdenv.mkDerivation (finalAttrs: {
];
mainProgram = "waytrogen";
platforms = lib.platforms.linux;
badPlatforms = lib.platforms.darwin;
};
})