mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +03:00
yaft: Provide terminfo in separate output
This commit is contained in:
parent
a4116e9289
commit
c5de4a5be3
2 changed files with 9 additions and 0 deletions
|
@ -33,6 +33,7 @@ with lib;
|
||||||
termite
|
termite
|
||||||
tmux
|
tmux
|
||||||
wezterm
|
wezterm
|
||||||
|
yaft
|
||||||
]));
|
]));
|
||||||
|
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
|
|
|
@ -4,6 +4,8 @@ stdenv.mkDerivation rec {
|
||||||
version = "0.2.9";
|
version = "0.2.9";
|
||||||
pname = "yaft";
|
pname = "yaft";
|
||||||
|
|
||||||
|
outputs = [ "out" "terminfo" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "uobikiemukot";
|
owner = "uobikiemukot";
|
||||||
repo = "yaft";
|
repo = "yaft";
|
||||||
|
@ -15,6 +17,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" "MANPREFIX=$(out)/share/man" ];
|
installFlags = [ "PREFIX=$(out)" "MANPREFIX=$(out)/share/man" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/nix-support $terminfo/share
|
||||||
|
mv $out/share/terminfo $terminfo/share/
|
||||||
|
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/uobikiemukot/yaft";
|
homepage = "https://github.com/uobikiemukot/yaft";
|
||||||
description = "Yet another framebuffer terminal";
|
description = "Yet another framebuffer terminal";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue