5 , withLibrary ? false, libtool
6 , unicodeSupport ? true
7 , enableShared ? !stdenv.isDarwin
10 assert withLibrary -> libtool != null;
11 assert unicodeSupport -> ncurses.unicodeSupport && ncurses != null;
13 stdenv.mkDerivation rec {
15 version = "1.3-20211214";
18 url = "ftp://ftp.invisible-island.net/dialog/${pname}-${version}.tgz";
19 hash = "sha256-zCll4FxqjDcHCza1ZBTqpWDfjYfyzqIXWeKJUOmyeks=";
27 "--disable-rpath-hacks"
28 (lib.withFeature withLibrary "libtool")
29 "--with-ncurses${lib.optionalString unicodeSupport "w"}"
30 "--with-libtool-opts=${lib.optionalString enableShared "-shared"}"
34 "install${lib.optionalString withLibrary "-full"}"
38 homepage = "https://invisible-island.net/dialog/dialog.html";
39 description = "Display dialog boxes from shell";
40 license = licenses.lgpl21Plus;
41 maintainers = with maintainers; [ AndersonTorres spacefrogg ];
42 inherit (ncurses.meta) platforms;