13 stdenv.mkDerivation rec {
17 src = fetchFromGitLab {
18 domain = "salsa.debian.org";
19 owner = "minicom-team";
22 sha256 = "sha256-+fKvHrApDXm94LItXv+xSDIE5zD7rTY5IeNSuzQglpg=";
25 buildInputs = [ ncurses ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv IOKit ];
27 nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ];
29 enableParallelBuilding = true;
33 "--enable-lock-dir=/var/lock"
36 patches = [ ./xminicom_terminal_paths.patch ];
39 # Have `configure' assume that the lock directory exists.
40 substituteInPlace configure \
41 --replace 'test -d $UUCPLOCK' true
45 for f in $out/bin/*minicom ; do
47 --prefix PATH : ${lib.makeBinPath [ lrzsz ]}:$out/bin
52 description = "Modem control and terminal emulation program";
53 homepage = "https://salsa.debian.org/minicom-team/minicom";
54 license = licenses.gpl2Plus;
56 Minicom is a menu driven communications program. It emulates ANSI
57 and VT102 terminals. It has a dialing directory and auto zmodem
60 maintainers = with maintainers; [ peterhoeg ];
61 platforms = platforms.unix;