nixpkgs-suyu/pkgs/games/nudoku/default.nix
Will Dietz 52332244bd
nudoku: fix w/musl, disable nls
(cherry picked from commit 027b93ae5f1efe713dc213d56f0f2e4d9858db54)
2020-01-21 11:08:20 -06:00

26 lines
691 B
Nix

{ 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";
};
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 ];
};
}