depot/third_party/nixpkgs/pkgs/applications/display-managers/emptty/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
703 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, libX11
, pam
, stdenv
}:
buildGoModule rec {
pname = "emptty";
version = "0.12.1";
src = fetchFromGitHub {
owner = "tvrzna";
repo = pname;
rev = "v${version}";
hash = "sha256-9qNAQBmcFKPpJ+AqfOy3emA1fvqI/XaT39KwI5fpXHU=";
};
buildInputs = [ pam libX11 ];
vendorHash = "sha256-PLyemAUcCz9H7+nAxftki3G7rQoEeyPzY3YUEj2RFn4=";
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;
mainProgram = "emptty";
};
}