summary refs log tree commit diff
path: root/pkgs/games/nudoku/default.nix
blob: b76e967ebb6334e47e56592f780c828afe314ff1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
  };
}