Skip to content

Commit

Permalink
greetd.tuigreet: add man page
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontear committed Oct 17, 2024
1 parent e3543c8 commit 57a1913
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pkgs/applications/display-managers/greetd/tuigreet.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
{
lib,
rustPlatform,
fetchFromGitHub,

scdoc,
}:
rustPlatform.buildRustPackage rec {
pname = "tuigreet";
version = "0.9.1";
Expand All @@ -16,6 +18,14 @@ rustPlatform.buildRustPackage rec {

cargoHash = "sha256-RkJjAmZ++4nc/lLh8g0LxGq2DjZGxQEjFOl8Yzx116A=";

nativeBuildInputs = [ scdoc ];

postInstall = ''
mkdir -p $out/share/man/man1
scdoc < contrib/man/tuigreet-1.scd > $out/share/man/man1/tuigreet.1
'';

meta = {
description = "Graphical console greeter for greetd";
homepage = "https://github.com/apognu/tuigreet";
Expand Down

0 comments on commit 57a1913

Please sign in to comment.