9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
31 lines
718 B
Nix
31 lines
718 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;
|
|
};
|
|
}
|