1{
2 buildGoModule,
3 fetchFromGitHub,
4 lib,
5 libX11,
6 pam,
7 stdenv,
8}:
9
10buildGoModule rec {
11 pname = "emptty";
12 version = "0.14.0";
13
14 src = fetchFromGitHub {
15 owner = "tvrzna";
16 repo = "emptty";
17 rev = "v${version}";
18 hash = "sha256-AsIt7EI5RkSchhaMGKofOsfPNROhX8f5gDaqZ7Q2394=";
19 };
20
21 buildInputs = [
22 pam
23 libX11
24 ];
25
26 vendorHash = "sha256-PLyemAUcCz9H7+nAxftki3G7rQoEeyPzY3YUEj2RFn4=";
27
28 meta = with lib; {
29 description = "Dead simple CLI Display Manager on TTY";
30 homepage = "https://github.com/tvrzna/emptty";
31 license = licenses.mit;
32 maintainers = with maintainers; [ urandom ];
33 # many undefined functions
34 broken = stdenv.hostPlatform.isDarwin;
35 mainProgram = "emptty";
36 };
37}