8 stdenv.mkDerivation rec {
13 url = "mirror://sourceforge/empty/empty/empty-${version}.tgz";
14 sha256 = "1rkixh2byr70pdxrwr4lj1ckh191rjny1m5xbjsa7nqw1fw6c2xs";
22 nativeBuildInputs = [ which ];
24 makeFlags = [ "PREFIX=$(out)" ];
31 homepage = "https://empty.sourceforge.net";
32 description = "Simple tool to automate interactive terminal applications";
33 license = licenses.bsd3;
34 platforms = platforms.all;
36 The empty utility provides an interface to execute and/or interact with
37 processes under pseudo-terminal sessions (PTYs). This tool is definitely
38 useful in programming of shell scripts designed to communicate with
39 interactive programs like telnet, ssh, ftp, etc. In some cases empty can
40 be the simplest replacement for TCL/expect or other similar programming
43 - can be easily invoked directly from shell prompt or script
44 - does not use TCL, Perl, PHP, Python or anything else as an underlying language
45 - is written entirely in C
46 - has small and simple source code
47 - can easily be ported to almost all UNIX-like systems
49 maintainers = [ maintainers.djwf ];
50 mainProgram = "empty";