nixpkgs/pkgs/tools/misc/minicom/2.3.nix
Lluís Batlle i Rossell d0a9bac4c1 Making minicom use /etc instead of $out/etc for configuration files (sysconfdir).
I could not find how to open a given serial device without allowing minicom to write into
its sysconfdir.

svn path=/nixpkgs/trunk/; revision=16782
2009-08-19 20:19:40 +00:00

19 lines
460 B
Nix

args : with args;
rec {
src = fetchurl {
url = http://alioth.debian.org/frs/download.php/2332/minicom-2.3.tar.gz;
sha256 = "1ysn0crdhvwyvdlbw0ms5nq06xy2pd2glwjs53p384byl3ac7jra";
};
buildInputs = [ncurses];
configureFlags = [ "--sysconfdir=/etc" ];
/* doConfigure should be specified separately */
phaseNames = [ "doConfigure" "doMakeInstall"];
name = "minicom-" + version;
meta = {
description = "Serial console";
};
}