lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

dialog: init at 1.2-20150225, closes #8457

Generate ncurses dialogs from shell scripts.

authored by

Michael Raitza and committed by
Rok Garbas
7907a8bc f10c6bef

+47 -1
+4 -1
pkgs/development/libraries/ncurses/default.nix
··· 160 160 maintainers = with maintainers; [ wkennington ]; 161 161 }; 162 162 163 - passthru.ldflags = if unicode then "-lncursesw" else "-lncurses"; 163 + passthru = { 164 + ldflags = if unicode then "-lncursesw" else "-lncurses"; 165 + inherit unicode abiVersion; 166 + }; 164 167 }
+41
pkgs/development/tools/misc/dialog/default.nix
··· 1 + { stdenv, fetchurl, ncurses, gettext 2 + , withLibrary ? false, libtool 3 + , unicodeSupport ? true 4 + }: 5 + 6 + let optional = stdenv.lib.optional; 7 + optStr = stdenv.lib.optionalString; 8 + buildShared = !stdenv.isDarwin; 9 + in 10 + 11 + assert withLibrary -> libtool != null; 12 + assert unicodeSupport -> ncurses.unicode && ncurses != null; 13 + 14 + stdenv.mkDerivation rec { 15 + name = "dialog-${version}"; 16 + version = "1.2-20150225"; 17 + 18 + src = fetchurl { 19 + url = "ftp://invisible-island.net/dialog/${name}.tgz"; 20 + sha256 = "6844b13a7a1fea568a8d5bb3004e1af90888cd4a5e8c2ded2c38f34fcc7397ff"; 21 + }; 22 + 23 + buildInputs = [ ncurses ]; 24 + 25 + configureFlags = '' 26 + --disable-rpath-hacks 27 + ${optStr withLibrary "--with-libtool"} 28 + --with-libtool-opts=${optStr buildShared "-shared"} 29 + --with-ncurses${optStr unicodeSupport "w"} 30 + ''; 31 + 32 + installTargets = "install${optStr withLibrary "-full"}"; 33 + 34 + meta = { 35 + homepage = http://invisible-island.net/dialog/dialog.html; 36 + description = "Display dialog boxes from shell"; 37 + license = stdenv.lib.licenses.lgpl21Plus; 38 + maintainers = [ stdenv.lib.maintainers.spacefrogg ]; 39 + platforms = stdenv.lib.platforms.all; 40 + }; 41 + }
+2
pkgs/top-level/all-packages.nix
··· 827 827 inherit (haskellngPackages) ghcWithPackages diagrams-builder; 828 828 }; 829 829 830 + dialog = callPackage ../development/tools/misc/dialog { }; 831 + 830 832 direnv = callPackage ../tools/misc/direnv { }; 831 833 832 834 discount = callPackage ../tools/text/discount { };