diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-04-07 15:16:43 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2019-04-07 21:14:23 +0800 |
commit | 9588e74f5acdfb57e915cf32c1baece4f2646180 (patch) | |
tree | f5f642f7c6392ff625110e7f08e8c2bb3cb7e6cf /pkgs/tools | |
parent | d956f2279b8ac02bd9e48cf2a09dcb66383ab6be (diff) |
sl: add missing man pages
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/sl/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/tools/misc/sl/default.nix b/pkgs/tools/misc/sl/default.nix index 4299073d96ba2..641a0c3e36522 100644 --- a/pkgs/tools/misc/sl/default.nix +++ b/pkgs/tools/misc/sl/default.nix @@ -7,29 +7,30 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "eyJhb"; repo = "sl"; - rev = "${version}"; + rev = version; sha256 = "029lv6vw39c7gj8bkfyqs8q4g32174vbmghhhgfk8wrhnxq60qn7"; }; buildInputs = [ ncurses ]; - buildFlags = [ "CC=cc" ]; - installPhase = '' - mkdir -p $out/bin $out/share/man/man1 - cp sl $out/bin - cp sl.1 $outputMan + runHook preInstall + + install -Dm755 -t $out/bin sl + install -Dm644 -t $out/share/man/man1 sl.1{,.ja} + + runHook postInstall ''; 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; license = rec { shortName = "Toyoda Masashi's free software license"; fullName = shortName; url = https://github.com/eyJhb/sl/blob/master/LICENSE; }; - maintainers = [ maintainers.eyjhb ]; - description = "Steam Locomotive runs across your terminal when you type 'sl'"; + maintainers = with maintainers; [ eyjhb ]; platforms = platforms.unix; }; } |