2022-11-27 02:36:27 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libX11
|
|
|
|
, pam
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "emptty";
|
2023-02-02 13:19:43 +00:00
|
|
|
version = "0.9.1";
|
2022-11-27 02:36:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tvrzna";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-02 13:19:43 +00:00
|
|
|
hash = "sha256-CbTPJgnKMWMXdG6Hr8xT9ae4Q9MxAfhITn5WSCzCmI4=";
|
2022-11-27 02:36:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pam libX11 ];
|
|
|
|
|
|
|
|
vendorHash = "sha256-tviPb05puHvBdDkSsRrBExUVxQy+DzmkjB+W9W2CG4M=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dead simple CLI Display Manager on TTY";
|
|
|
|
homepage = "https://github.com/tvrzna/emptty";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ urandom ];
|
|
|
|
# many undefined functions
|
|
|
|
broken = stdenv.isDarwin;
|
|
|
|
};
|
|
|
|
}
|