2018-11-08 20:40:00 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, linux-pam }:
|
|
|
|
|
2021-01-01 13:46:40 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ly";
|
2018-11-08 20:40:00 +00:00
|
|
|
version = "0.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cylgom";
|
|
|
|
repo = "ly";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "16gjcrd4a6i4x8q8iwlgdildm7cpdsja8z22pf2izdm6rwfki97d";
|
|
|
|
fetchSubmodules = true;
|
2021-01-01 13:46:40 +00:00
|
|
|
};
|
2018-11-08 20:40:00 +00:00
|
|
|
|
|
|
|
buildInputs = [ linux-pam ];
|
|
|
|
makeFlags = [ "FLAGS=-Wno-error" ];
|
|
|
|
|
|
|
|
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;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/cylgom/ly";
|
2018-11-08 20:40:00 +00:00
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|