2009-11-18 12:39:59 +03:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-14 09:06:49 +04:00
|
|
|
name = "minicom-2.7";
|
2010-09-04 00:52:32 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
src = fetchurl {
|
2014-04-14 09:06:49 +04:00
|
|
|
url = "http://alioth.debian.org/frs/download.php/file/3977/${name}.tar.gz";
|
|
|
|
sha256 = "1x04m4k7c71j5cnhzpjrbz43dd96k4mpkd0l87v5skrgp1isdhws";
|
2009-11-18 12:39:59 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ncurses];
|
2010-09-04 00:52:32 +04: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 12:39:59 +03:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "Modem control and terminal emulation program";
|
2010-09-04 00:52:32 +04:00
|
|
|
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 12:39:59 +03:00
|
|
|
};
|
|
|
|
}
|