depot/third_party/nixpkgs/pkgs/applications/display-managers/emptty/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

33 lines
703 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, libX11
, pam
, stdenv
}:
buildGoModule rec {
pname = "emptty";
version = "0.12.0";
src = fetchFromGitHub {
owner = "tvrzna";
repo = pname;
rev = "v${version}";
hash = "sha256-64Ta0k4TzJcQC+RDybHzFUj96ZSRUOeYQ2U9KFjDXjk=";
};
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;
mainProgram = "emptty";
};
}