sl: add missing man pages
This commit is contained in:
parent
d956f2279b
commit
9588e74f5a
@ -7,29 +7,30 @@ stdenv.mkDerivation rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eyJhb";
|
owner = "eyJhb";
|
||||||
repo = "sl";
|
repo = "sl";
|
||||||
rev = "${version}";
|
rev = version;
|
||||||
sha256 = "029lv6vw39c7gj8bkfyqs8q4g32174vbmghhhgfk8wrhnxq60qn7";
|
sha256 = "029lv6vw39c7gj8bkfyqs8q4g32174vbmghhhgfk8wrhnxq60qn7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
buildFlags = [ "CC=cc" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
runHook preInstall
|
||||||
cp sl $out/bin
|
|
||||||
cp sl.1 $outputMan
|
install -Dm755 -t $out/bin sl
|
||||||
|
install -Dm644 -t $out/share/man/man1 sl.1{,.ja}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "Steam Locomotive runs across your terminal when you type 'sl'";
|
||||||
homepage = http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html;
|
homepage = http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html;
|
||||||
license = rec {
|
license = rec {
|
||||||
shortName = "Toyoda Masashi's free software license";
|
shortName = "Toyoda Masashi's free software license";
|
||||||
fullName = shortName;
|
fullName = shortName;
|
||||||
url = https://github.com/eyJhb/sl/blob/master/LICENSE;
|
url = https://github.com/eyJhb/sl/blob/master/LICENSE;
|
||||||
};
|
};
|
||||||
maintainers = [ maintainers.eyjhb ];
|
maintainers = with maintainers; [ eyjhb ];
|
||||||
description = "Steam Locomotive runs across your terminal when you type 'sl'";
|
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user