2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-07-24 13:36:00 +01:00
|
|
|
name = "minicom-2.6.2";
|
2010-09-03 21:52:32 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
src = fetchurl {
|
2013-07-24 13:36:00 +01:00
|
|
|
url = "http://alioth.debian.org/frs/download.php/file/3869/${name}.tar.gz";
|
|
|
|
sha256 = "0s4ibk8scspm8a0raf5s4zgp9b82c4bn529rir9abzqlg5gj3kzk";
|
2009-11-18 09:39:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ncurses];
|
2010-09-03 21:52:32 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--sysconfdir=/etc" "--enable-lock-dir=/var/lock" ];
|
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
# Have `configure' assume that the lock directory exists.
|
|
|
|
'' sed -i "configure" -e's/test -d \$UUCPLOCK/true/g'
|
|
|
|
'';
|
2009-11-18 09:39:59 +00:00
|
|
|
|
|
|
|
meta = {
|
2010-09-03 21:52:32 +01:00
|
|
|
description = "Minicom, a modem control and terminal emulation program";
|
|
|
|
homepage = http://alioth.debian.org/projects/minicom/;
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' Minicom is a menu driven communications program. It emulates ANSI
|
|
|
|
and VT102 terminals. It has a dialing directory and auto zmodem
|
|
|
|
download.
|
|
|
|
'';
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
2009-11-18 09:39:59 +00:00
|
|
|
};
|
|
|
|
}
|