about summary refs log tree commit diff
path: root/pkgs/games/nudoku
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-11-05 09:27:44 +0000
committerSergei Trofimovich <slyich@gmail.com>2021-11-05 09:28:18 +0000
commit274df1ce2871370ce52506e37ec4d240a82b1101 (patch)
tree7e2c5a3bb12b9de9e27a96a1c4d813e0d4f7ae39 /pkgs/games/nudoku
parent7fe522a7b66d9bf3ab5346c2bf8ca6026ab05637 (diff)
nudoku: pull upstream fix for upcoming ncurses-6.3
Diffstat (limited to 'pkgs/games/nudoku')
-rw-r--r--pkgs/games/nudoku/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/games/nudoku/default.nix b/pkgs/games/nudoku/default.nix
index aaa6d3248094a..d3e3d039d9865 100644
--- a/pkgs/games/nudoku/default.nix
+++ b/pkgs/games/nudoku/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext, ncurses }:
+{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gettext, ncurses }:
 
 stdenv.mkDerivation rec {
   pname = "nudoku";
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
     sha256 = "12v00z3p0ymi8f3w4b4bgl4c76irawn3kmd147r0ap6s9ssx2q6m";
   };
 
+  patches = [
+    # Pull upstream fix for ncurses-6.3
+    (fetchpatch {
+      name = "ncurses-6.3.patch";
+      url = "https://github.com/jubalh/nudoku/commit/93899a0fd72e04b9f257e5f54af53466106b5959.patch";
+      sha256 = "1h3za0dnx8fk3vshql5mhcici8aw8j0vr7ra81p3r1rii4c479lm";
+    })
+  ];
+
   # Allow gettext 0.20
   postPatch = ''
     substituteInPlace configure.ac --replace 0.19 0.20