Merge pull request #78190 from dtzWill/feature/nudoku

nudoku: init at 2.0.0
This commit is contained in:
Marek Mahut 2020-01-21 22:18:38 +01:00 committed by GitHub
commit de7286cf61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gettext, ncurses }:
stdenv.mkDerivation rec {
pname = "nudoku";
version = "2.0.0";
src = fetchFromGitHub {
owner = "jubalh";
repo = pname;
rev = version;
sha256 = "0rj8ajni7gssj0qbf1jn51699sadxwsr6ca2718w74psv7acda8h";
};
# Allow gettext 0.20
postPatch = ''
substituteInPlace configure.ac --replace 0.19 0.20
'';
nativeBuildInputs = [ autoreconfHook pkgconfig gettext ];
buildInputs = [ ncurses ];
configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-nls";
meta = with stdenv.lib; {
description = "An ncurses based sudoku game";
homepage = "http://jubalh.github.io/nudoku/";
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
};
}

View file

@ -23141,6 +23141,8 @@ in
newtonwars = callPackage ../games/newtonwars { };
nudoku = callPackage ../games/nudoku { };
nxengine-evo = callPackage ../games/nxengine-evo { };
odamex = callPackage ../games/odamex { };