Unverified Commit c1f46dbb authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

greetd.tuigreet: add man page (#349180)

parents ce46149b fc6f12b9
Loading
Loading
Loading
Loading
+17 −4
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
}:
{
  lib,
  rustPlatform,
  fetchFromGitHub,

  installShellFiles,
  scdoc,
}:
rustPlatform.buildRustPackage rec {
  pname = "tuigreet";
  version = "0.9.1";
@@ -16,6 +19,16 @@ rustPlatform.buildRustPackage rec {

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

  nativeBuildInputs = [
    installShellFiles
    scdoc
  ];

  postInstall = ''
    scdoc < contrib/man/tuigreet-1.scd > tuigreet.1
    installManPage tuigreet.1
  '';

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