about summary refs log tree commit diff
path: root/pkgs/applications/display-managers/lemurs/default.nix
blob: bb085c8a406be603d06f92beb854d187bc49c272 (plain) (blame)
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
{
  fetchFromGitHub,
  lib,
  linux-pam,
  rustPlatform,
  testers,
  lemurs,
}:
rustPlatform.buildRustPackage rec {
  pname = "lemurs";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "coastalwhite";
    repo = "lemurs";
    rev = "v${version}";
    hash = "sha256-YDopY+wdWlVL2X+/wc1tLSSqFclAkt++JXMK3VodD4s=";
  };

  cargoHash = "sha256-uuHPJe+1VsnLRGbHtgTMrib6Tk359cwTDVfvtHnDToo=";

  buildInputs = [
    linux-pam
  ];

  passthru.tests.version = testers.testVersion {
    package = lemurs;
  };

  meta = with lib; {
    description = "Customizable TUI display/login manager written in Rust";
    homepage = "https://github.com/coastalwhite/lemurs";
    license = with licenses; [asl20 mit];
    maintainers = with maintainers; [jeremiahs];
    mainProgram = "lemurs";
  };
}