Adding kermit.
svn path=/nixpkgs/trunk/; revision=17114
This commit is contained in:
parent
b1dd203499
commit
da09a4e950
35
pkgs/tools/misc/kermit/default.nix
Normal file
35
pkgs/tools/misc/kermit/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
stdenv.mkDerivation {
|
||||
name = "kermit-8.0.211";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://kermit.columbia.edu/kermit/archives/cku211.tar.gz;
|
||||
sha256 = "14xsmdlsk2pgsp51l7lxwncgljwvgm446a4m6nk488shj94cvrrr";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
unpackPhase = ''
|
||||
ensureDir src
|
||||
pushd src
|
||||
tar xvzf $src
|
||||
'';
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e 's@-I/usr/include/ncurses@@' \
|
||||
-e 's@-lncurses@-lncurses -lresolv -lcrypt@' \
|
||||
-e 's@/usr/local@'"$out"@ makefile
|
||||
'';
|
||||
buildPhase = "make -f makefile linux";
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
ensureDir $out/man/man1
|
||||
make -f makefile install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.columbia.edu/kermit/ck80.html";
|
||||
description = "Portable Scriptable Network and Serial Communication Software";
|
||||
license = "free";
|
||||
};
|
||||
}
|
@ -6815,6 +6815,10 @@ let
|
||||
inherit stdenv fetchurl kdelibs x11 zlib libpng libjpeg perl qt3;
|
||||
};
|
||||
|
||||
kermit = import ../tools/misc/kermit {
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
kino = import ../applications/video/kino {
|
||||
inherit fetchurl stdenv pkgconfig libxml2 perl perlXMLParser
|
||||
libdv libraw1394 libavc1394 libiec61883 x11 gettext cairo; /* libavformat */
|
||||
|
Loading…
Reference in New Issue
Block a user