depot/third_party/nixpkgs/pkgs/applications/display-managers/ly/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

32 lines
742 B
Nix

{ stdenv, lib, fetchFromGitHub, git, linux-pam, libxcb }:
stdenv.mkDerivation rec {
pname = "ly";
version = "0.6.0";
src = fetchFromGitHub {
owner = "fairyglade";
repo = "ly";
rev = "v${version}";
hash = "sha256-78XD6DK9aQi8hITWJWnFZ3U9zWTcuw3vtRiU3Lhu7O4=";
fetchSubmodules = true;
};
hardeningDisable = [ "all" ];
nativeBuildInputs = [ git ];
buildInputs = [ libxcb linux-pam ];
installPhase = ''
mkdir -p $out/bin
cp bin/ly $out/bin
'';
meta = with lib; {
description = "TUI display manager";
license = licenses.wtfpl;
homepage = "https://github.com/fairyglade/ly";
maintainers = [ maintainers.vidister ];
platforms = platforms.linux;
mainProgram = "ly";
};
}