budgie-screensaver: modernize

This commit is contained in:
seth 2024-07-12 19:14:12 -04:00
parent 228edade41
commit 94d8f9bcaa
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -12,6 +12,7 @@
linux-pam, linux-pam,
meson, meson,
ninja, ninja,
nix-update-script,
pkg-config, pkg-config,
systemd, systemd,
wrapGAppsHook3, wrapGAppsHook3,
@ -26,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "BuddiesOfBudgie"; owner = "BuddiesOfBudgie";
repo = "budgie-screensaver"; repo = "budgie-screensaver";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-N8x9hdbaMDisTbQPJedNO4UMLnCn+Q2hhm4udJZgQlc="; hash = "sha256-N8x9hdbaMDisTbQPJedNO4UMLnCn+Q2hhm4udJZgQlc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -51,12 +52,17 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE"; env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE";
passthru = {
updateScript = nix-update-script { };
};
meta = { meta = {
description = "Fork of old GNOME Screensaver for purposes of providing an authentication prompt on wake"; description = "Fork of old GNOME Screensaver for purposes of providing an authentication prompt on wake";
homepage = "https://github.com/BuddiesOfBudgie/budgie-screensaver"; homepage = "https://github.com/BuddiesOfBudgie/budgie-screensaver";
changelog = "https://github.com/BuddiesOfBudgie/budgie-screensaver/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl2Only;
maintainers = lib.teams.budgie.members;
mainProgram = "budgie-screensaver"; mainProgram = "budgie-screensaver";
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
license = lib.licenses.gpl2Only;
}; };
}) })