1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{ lib
, stdenv
, fetchFromGitHub
, dbus-glib
, glib
, gnome-desktop
, gtk3
, intltool
, libgnomekbd
, libX11
, linux-pam
, meson
, ninja
, pkg-config
, systemd
, wrapGAppsHook3
, xorg
}:
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-screensaver";
version = "5.1.0";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = "budgie-screensaver";
rev = "v${finalAttrs.version}";
sha256 = "sha256-N8x9hdbaMDisTbQPJedNO4UMLnCn+Q2hhm4udJZgQlc=";
};
nativeBuildInputs = [
intltool
meson
ninja
pkg-config
wrapGAppsHook3
];
buildInputs = [
dbus-glib
glib
gnome-desktop
gtk3
libgnomekbd
libX11
linux-pam
systemd
xorg.libXxf86vm
];
env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE";
meta = {
description = "A fork of old GNOME Screensaver for purposes of providing an authentication prompt on wake";
homepage = "https://github.com/BuddiesOfBudgie/budgie-screensaver";
mainProgram = "budgie-screensaver";
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
license = lib.licenses.gpl2Only;
};
})
|