lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 42 lines 1.2 kB view raw
1{ stdenv, fetchurl, autoreconfHook 2, ncurses #acinclude.m4 wants headers for tgetent(). 3, historySupport ? false 4, readline ? null 5}: 6 7stdenv.mkDerivation rec { 8 name = "rc-${version}"; 9 version = "1.7.4"; 10 11 src = fetchurl { 12 url = "http://static.tobold.org/rc/rc-${version}.tar.gz"; 13 sha256 = "1n5zz6d6z4z6s3fwa0pscqqawy561k4xfnmi91i626hcvls67ljy"; 14 }; 15 16 nativeBuildInputs = [ autoreconfHook ]; 17 buildInputs = [ ncurses ] 18 ++ stdenv.lib.optionals (readline != null) [ readline ]; 19 20 configureFlags = [ 21 "--enable-def-interp=${stdenv.shell}" #183 22 ] ++ stdenv.lib.optionals historySupport [ "--with-history" ] 23 ++ stdenv.lib.optionals (readline != null) [ "--with-edit=readline" ]; 24 25 prePatch = '' 26 substituteInPlace configure.ac \ 27 --replace "date -I" "echo 2015-05-13" #reproducible-build 28 ''; 29 30 passthru = { 31 shellPath = "/bin/rc"; 32 }; 33 34 meta = with stdenv.lib; { 35 description = "The Plan 9 shell"; 36 longDescription = "Byron Rakitzis' UNIX reimplementation of Tom Duff's Plan 9 shell."; 37 homepage = http://tobold.org/article/rc; 38 license = with licenses; zlib; 39 maintainers = with maintainers; [ ramkromberg ]; 40 platforms = with platforms; all; 41 }; 42}