1 { lib, stdenv, fetchFromGitHub, ncurses }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "11a1rdgb8wagikhxgm81g80g5qsl59mv4qgsval3isykqh8729bj";
14 buildInputs = [ ncurses ];
16 makeFlags = [ "CC:=$(CC)" ];
21 install -Dm755 -t $out/bin sl
22 install -Dm644 -t $out/share/man/man1 sl.1{,.ja}
28 description = "Steam Locomotive runs across your terminal when you type 'sl'";
29 homepage = "http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html";
31 shortName = "Toyoda Masashi's free software license";
33 url = "https://github.com/eyJhb/sl/blob/master/LICENSE";
35 maintainers = with maintainers; [ eyjhb ];
36 platforms = platforms.unix;