-
-
Save meatcar/fc43f8c1c13f8f9d2709be0c2b7ecf0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, lib, fetchgit, linux-pam, xorg }: | |
let | |
argoat = builtins.fetchGit { | |
url = "https://github.com/cylgom/argoat.git"; | |
rev = "36c41f09ecc2a10c9acf35e4194e08b6fa10cf45"; | |
}; | |
testoasterror = builtins.fetchGit { | |
url = "https://github.com/cylgom/testoasterror.git"; | |
rev = "71620b47872b5535f87c908883576d73153a6911"; | |
}; | |
configator = builtins.fetchGit { | |
url = "https://github.com/cylgom/configator.git"; | |
rev = "c3e1ef175418ccb5b0981ae64ec6f5ae4a60fbaf"; | |
}; | |
ctypes = builtins.fetchGit { | |
url = "https://github.com/cylgom/ctypes.git"; | |
rev = "5dd979d3644ab0c85ca14e72b61e6d3d238d432b"; | |
}; | |
dragonfail = builtins.fetchGit { | |
url = "https://github.com/cylgom/dragonfail.git"; | |
rev = "6b40d1f8b7f6dda9746e688666af623dfbcceb94"; | |
}; | |
termbox_next = builtins.fetchGit { | |
url = "https://github.com/cylgom/termbox_next.git"; | |
rev = "d3568927865c15d033d4096cb446d5a3628e2398"; | |
}; | |
in | |
stdenv.mkDerivation rec { | |
pname = "ly"; | |
version = "2019-10-04"; | |
src = builtins.fetchGit { | |
url = "https://github.com/cylgom/ly.git"; | |
rev = "d839a9229640bb17a59b6cfc5ba3c9119ea56a7d"; | |
}; | |
buildInputs = [ linux-pam xorg.libxcb ]; | |
makeFlags = [ "FLAGS=-Wno-error" ]; | |
preBuild = '' | |
ls -al | |
rm -r sub/* | |
cp -r --no-preserve=mode ${argoat} sub/argoat | |
ls -al sub/argoat/sub | |
rm -r sub/argoat/sub/* | |
cp -r --no-preserve=mode ${testoasterror} sub/argoat/sub/testasterror | |
cp -r --no-preserve=mode ${configator} sub/configator | |
cp -r --no-preserve=mode ${ctypes} sub/ctypes | |
cp -r --no-preserve=mode ${dragonfail} sub/dragonfail | |
cp -r --no-preserve=mode ${termbox_next} sub/termbox_next | |
''; | |
installPhase = '' | |
mkdir -p $out/bin | |
cp -r bin/ly $out/bin | |
cp -r res $out/share | |
''; | |
meta = with lib; { | |
description = "TUI display manager"; | |
license = licenses.wtfpl; | |
homepage = https://github.com/cylgom/ly; | |
maintainers = [ maintainers.spacekookie maintainers.meatcar ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment