1 { lib, stdenv, fetchFromGitHub, ncurses }:
3 stdenv.mkDerivation rec {
7 outputs = [ "out" "terminfo" ];
9 src = fetchFromGitHub {
10 owner = "uobikiemukot";
13 sha256 = "0l1ig8wm545kpn4l7186rymny83jkahnjim290wsl7hsszfq1ckd";
16 buildInputs = [ ncurses ];
18 installFlags = [ "PREFIX=$(out)" "MANPREFIX=$(out)/share/man" ];
21 mkdir -p $out/nix-support $terminfo/share
22 mv $out/share/terminfo $terminfo/share/
23 echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
27 homepage = "https://github.com/uobikiemukot/yaft";
28 description = "Yet another framebuffer terminal";
29 license = lib.licenses.mit;
30 maintainers = [ lib.maintainers.matthiasbeyer ];
31 platforms = with lib.platforms; linux;