about summary refs log tree commit diff
path: root/pkgs/development/libraries/ncurses
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-10-31 22:42:52 +0000
committerSergei Trofimovich <slyich@gmail.com>2021-12-16 07:55:06 +0000
commitd5abc055d2062efacba35a0232977463918ba22f (patch)
treebc85c62bbc446c6aa81f5ee923f4c9c030f5495b /pkgs/development/libraries/ncurses
parent66246ca3561fbee0c3f28e8adcef8aa79a7d6399 (diff)
ncurses: 6.2 -> 6.3
The biggest nixpkgs-specific change is addition of printf()-style
attribute annotations for many ncurses APIs. -Werror=format-security
now flags parameter inconsistencies and fails the build.

The fixes are usually one-liners like adding "%s" format string for
non-literals or just using `hardeningDisable [ "format" ];` for software
where backporting or fixing is not practical.

Drop -DNCURSES_INTERNALS=1 workaround required only for ncurses-6.2
and build-incompatible with ncurses-6.3.
Diffstat (limited to 'pkgs/development/libraries/ncurses')
-rw-r--r--pkgs/development/libraries/ncurses/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix
index b7ca4df888570..6aa93e87da943 100644
--- a/pkgs/development/libraries/ncurses/default.nix
+++ b/pkgs/development/libraries/ncurses/default.nix
@@ -14,7 +14,7 @@
 
 stdenv.mkDerivation rec {
   # Note the revision needs to be adjusted.
-  version = "6.2";
+  version = "6.3";
   name = "ncurses-${version}" + lib.optionalString (abiVersion == "5") "-abi5-compat";
 
   # We cannot use fetchFromGitHub (which calls fetchzip)
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
     rev = "v${version}";
   in fetchurl {
     url = "https://github.com/mirror/ncurses/archive/${rev}.tar.gz";
-    sha256 = "15r2456g0mlq2q7gh2z52vl6zv6y0z8sdchrs80kg4idqd8sm8fd";
+    sha256 = "1mawdjhzl2na2j0dylwc37f5w95rhgyvlwnfhww5rz2r7fgkvayv";
   };
 
   outputs = [ "out" "dev" "man" ];