greetd: init at 0.7.0
This commit is contained in:
parent
b1526be944
commit
90813f399b
51
pkgs/os-specific/linux/greetd/default.nix
Normal file
51
pkgs/os-specific/linux/greetd/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ rustPlatform
|
||||
, lib
|
||||
, fetchFromSourcehut
|
||||
, pam
|
||||
, scdoc
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "greetd";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~kennylevinsen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "b+S3fuJ8gjnSQzLHl3Bs9iO/Un2ynggAplz01GjJvFI=";
|
||||
};
|
||||
|
||||
cargoSha256 = "w6d8rIc03Qa2/TpztpyVijjd3y0Vo38+JDhsOkSFG5E=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
scdoc
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pam
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
for f in man/*; do
|
||||
scdoc < "$f" > "$(sed 's/-\([0-9]\)\.scd$/.\1/' <<< "$f")"
|
||||
rm "$f"
|
||||
done
|
||||
installManPage man/*
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minimal and flexible login manager daemon";
|
||||
longDescription = ''
|
||||
greetd is a minimal and flexible login manager daemon
|
||||
that makes no assumptions about what you want to launch.
|
||||
Comes with agreety, a simple, text-based greeter.
|
||||
'';
|
||||
homepage = "https://kl.wtf/projects/greetd/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ luc65r ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -22547,6 +22547,10 @@ in
|
||||
|
||||
grandorgue = callPackage ../applications/audio/grandorgue { };
|
||||
|
||||
greetd = recurseIntoAttrs {
|
||||
greetd = callPackage ../os-specific/linux/greetd { };
|
||||
};
|
||||
|
||||
goldendict = libsForQt5.callPackage ../applications/misc/goldendict {
|
||||
inherit (darwin) libiconv;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user