_2048-in-terminal: unstable-2021-09-12 -> unstable-2022-06-13

This commit is contained in:
Daniel Nagy 2022-10-05 01:30:14 +02:00
parent 95fda953f6
commit 0580c5809a
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -1,26 +1,16 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config }:
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }:
stdenv.mkDerivation rec {
pname = "2048-in-terminal";
version = "unstable-2021-09-12";
version = "unstable-2022-06-13";
src = fetchFromGitHub {
sha256 = "1jgacyimn59kxqhrk8jp13qayc2mncxhx393spqcxbz0sj6lxq9p";
rev = "466abe827638598e40cb627d2b017fe8f76b3a14";
repo = "2048-in-terminal";
owner = "alewmoose";
repo = "2048-in-terminal";
rev = "bf22f868a2e0e572f22153468585ec0226a4b8b2";
sha256 = "sha256-Y5ZQYWOiG3QZZsr+d7olUDGAQ1LhRG9X2hBNQDx+Ztw=";
};
# Fix pending upstream inclusion for ncurses-6.3 support:
# https://github.com/alewmoose/2048-in-terminal/pull/6
patches = [
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/alewmoose/2048-in-terminal/commit/b1c78dc4b3cca3a193b1afea1ab85a75966823cf.patch";
sha256 = "05ibpgr83r7zxsak2l0gaf33858bp0sp0mjfdpmcmw745z3jw7q1";
})
];
buildInputs = [ ncurses ];
nativeBuildInputs = [ pkg-config ];