tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
greetd: init at 0.7.0
luc65r
4 years ago
90813f39
b1526be9
+55
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
greetd
default.nix
top-level
all-packages.nix
+51
pkgs/os-specific/linux/greetd/default.nix
···
1
1
+
{ rustPlatform
2
2
+
, lib
3
3
+
, fetchFromSourcehut
4
4
+
, pam
5
5
+
, scdoc
6
6
+
, installShellFiles
7
7
+
}:
8
8
+
9
9
+
rustPlatform.buildRustPackage rec {
10
10
+
pname = "greetd";
11
11
+
version = "0.7.0";
12
12
+
13
13
+
src = fetchFromSourcehut {
14
14
+
owner = "~kennylevinsen";
15
15
+
repo = pname;
16
16
+
rev = version;
17
17
+
sha256 = "b+S3fuJ8gjnSQzLHl3Bs9iO/Un2ynggAplz01GjJvFI=";
18
18
+
};
19
19
+
20
20
+
cargoSha256 = "w6d8rIc03Qa2/TpztpyVijjd3y0Vo38+JDhsOkSFG5E=";
21
21
+
22
22
+
nativeBuildInputs = [
23
23
+
scdoc
24
24
+
installShellFiles
25
25
+
];
26
26
+
27
27
+
buildInputs = [
28
28
+
pam
29
29
+
];
30
30
+
31
31
+
postInstall = ''
32
32
+
for f in man/*; do
33
33
+
scdoc < "$f" > "$(sed 's/-\([0-9]\)\.scd$/.\1/' <<< "$f")"
34
34
+
rm "$f"
35
35
+
done
36
36
+
installManPage man/*
37
37
+
'';
38
38
+
39
39
+
meta = with lib; {
40
40
+
description = "Minimal and flexible login manager daemon";
41
41
+
longDescription = ''
42
42
+
greetd is a minimal and flexible login manager daemon
43
43
+
that makes no assumptions about what you want to launch.
44
44
+
Comes with agreety, a simple, text-based greeter.
45
45
+
'';
46
46
+
homepage = "https://kl.wtf/projects/greetd/";
47
47
+
license = licenses.gpl3Plus;
48
48
+
maintainers = with maintainers; [ luc65r ];
49
49
+
platforms = platforms.linux;
50
50
+
};
51
51
+
}
+4
pkgs/top-level/all-packages.nix
···
22547
22547
22548
22548
grandorgue = callPackage ../applications/audio/grandorgue { };
22549
22549
22550
22550
+
greetd = recurseIntoAttrs {
22551
22551
+
greetd = callPackage ../os-specific/linux/greetd { };
22552
22552
+
};
22553
22553
+
22550
22554
goldendict = libsForQt5.callPackage ../applications/misc/goldendict {
22551
22555
inherit (darwin) libiconv;
22552
22556
};