nixpkgs-suyu/pkgs/applications/display-managers/emptty/default.nix
2023-05-06 20:53:15 +08:00

32 lines
675 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, libX11
, pam
, stdenv
}:
buildGoModule rec {
pname = "emptty";
version = "0.10.0";
src = fetchFromGitHub {
owner = "tvrzna";
repo = pname;
rev = "v${version}";
hash = "sha256-8JVF3XNNzmcaJCINnv8B6l2IB5c8q/AvGOzwAlIFYq8=";
};
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;
};
}