1 { lib, stdenv, fetchurl, ncurses, libxcrypt }:
8 url = "ftp://ftp.kermitproject.org/kermit/archives/cku302.tar.gz";
9 sha256 = "0487mh6s99ijqf1pfmbm302pa5i4pzmm8s439hdl1ffs5g8jqpqd";
12 buildInputs = [ ncurses libxcrypt ];
21 sed -i -e 's@-I/usr/include/ncurses@@' \
22 -e 's@/usr/local@'"$out"@ makefile
25 buildPhase = "make -f makefile linux KFLAGS='-D_IO_file_flags' LNKFLAGS='-lcrypt -lresolv'";
29 mkdir -p $out/man/man1
30 make -f makefile install
34 homepage = "https://www.kermitproject.org/ck90.html";
35 description = "Portable Scriptable Network and Serial Communication Software";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ pSub ];
38 platforms = with platforms; linux;