nixpkgs/pkgs/applications/display-managers/ly/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
742 B
Nix
Raw Normal View History

2023-06-15 11:35:00 +00:00
{ stdenv, lib, fetchFromGitHub, git, linux-pam, libxcb }:
2018-11-08 20:40:00 +00:00
2021-01-01 13:46:40 +00:00
stdenv.mkDerivation rec {
pname = "ly";
2023-06-15 11:35:00 +00:00
version = "0.6.0";
2018-11-08 20:40:00 +00:00
src = fetchFromGitHub {
2023-06-15 11:35:00 +00:00
owner = "fairyglade";
2018-11-08 20:40:00 +00:00
repo = "ly";
2023-06-15 11:35:00 +00:00
rev = "v${version}";
hash = "sha256-78XD6DK9aQi8hITWJWnFZ3U9zWTcuw3vtRiU3Lhu7O4=";
2018-11-08 20:40:00 +00:00
fetchSubmodules = true;
2021-01-01 13:46:40 +00:00
};
2018-11-08 20:40:00 +00:00
2023-06-15 11:35:00 +00:00
hardeningDisable = [ "all" ];
nativeBuildInputs = [ git ];
buildInputs = [ libxcb linux-pam ];
2018-11-08 20:40:00 +00:00
installPhase = ''
mkdir -p $out/bin
2021-01-01 13:46:40 +00:00
cp bin/ly $out/bin
2018-11-08 20:40:00 +00:00
'';
meta = with lib; {
description = "TUI display manager";
license = licenses.wtfpl;
2023-06-15 11:35:00 +00:00
homepage = "https://github.com/fairyglade/ly";
maintainers = [ maintainers.vidister ];
2023-06-15 11:35:00 +00:00
platforms = platforms.linux;
2024-02-11 02:19:15 +00:00
mainProgram = "ly";
2018-11-08 20:40:00 +00:00
};
}