dialog: 1.3-20220728 -> 1.3-20230209

+13 -10
+13 -10
pkgs/tools/misc/dialog/default.nix
··· 3 3 , fetchurl 4 4 , libtool 5 5 , ncurses 6 - , withLibrary ? false 6 + , enableShared ? !stdenv.isDarwin 7 7 , unicodeSupport ? true 8 - , enableShared ? !stdenv.isDarwin 8 + , withLibrary ? false 9 9 }: 10 10 11 - assert withLibrary -> libtool != null; 12 - assert unicodeSupport -> ncurses != null && ncurses.unicodeSupport; 11 + assert unicodeSupport -> ncurses.unicodeSupport; 13 12 14 13 stdenv.mkDerivation (finalAttrs: { 15 14 pname = "dialog"; 16 - version = "1.3-20220728"; 15 + version = "1.3-20230209"; 17 16 18 17 src = fetchurl { 19 - url = "ftp://ftp.invisible-island.net/dialog/dialog-${finalAttrs.version}.tgz"; 20 - hash = "sha256-VEGJc9VZpGGwBpX6/mjfYvK8c9UGtDaCHXfKPfRUGQs="; 18 + url = "https://invisible-island.net/archives/dialog/dialog-${finalAttrs.version}.tgz"; 19 + hash = "sha256-DCYoIwUmS+IhfzNfN5j0ix3OPPEsWgdr8jHK33em1qg="; 21 20 }; 21 + 22 + nativeBuildInputs = lib.optional withLibrary libtool; 22 23 23 24 buildInputs = [ 24 25 ncurses 25 26 ]; 27 + 28 + strictDeps = true; 26 29 27 30 configureFlags = [ 28 31 "--disable-rpath-hacks" ··· 35 38 "install${lib.optionalString withLibrary "-full"}" 36 39 ]; 37 40 38 - meta = with lib; { 41 + meta = { 39 42 homepage = "https://invisible-island.net/dialog/dialog.html"; 40 43 description = "Display dialog boxes from shell"; 41 - license = licenses.lgpl21Plus; 42 - maintainers = with maintainers; [ AndersonTorres spacefrogg ]; 44 + license = lib.licenses.lgpl21Plus; 45 + maintainers = with lib.maintainers; [ AndersonTorres spacefrogg ]; 43 46 inherit (ncurses.meta) platforms; 44 47 }; 45 48 })