Subject: Re: [bug#32256] [PATCH] gnu: Add nudoku.

From: Kei Kebreau <[email-masked]>
Date: Thu, 26 Jul 2018 16:15:27 -0400

Ricardo Wurmus <[email-masked]> writes:

> From: Madalin Ionel-Patrascu <[email-masked]>
>
> * gnu/packages/games.scm (nudoku): New variable.
>
> Signed-off-by: Ricardo Wurmus <[email-masked]>
> ---
>  gnu/packages/games.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 4af0b52e8..c2e35791f 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -33,6 +33,7 @@
>  ;;; Copyright © 2017, 2018 Nicolas Goaziou <[email-masked]>
>  ;;; Copyright © 2018 okapi <[email-masked]>
>  ;;; Copyright © 2018 Tim Gesthuizen <[email-masked]>
> +;;; Copyright © 2018 Madalin Ionel-Patrascu <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -4714,6 +4715,25 @@ making Yamagi Quake II one of the most solid Quake II implementations available.
>                      "See Info-Zip section.")
>                     license:public-domain)))) ; stb
>  
> +(define-public nudoku
> +  (package
> +    (name "nudoku")
> +    (version "1.0.0")
> +    (source (origin
> +	      (method url-fetch)
> +	      (uri (string-append "https://github.com/jubalh/nudoku/"
> +                                  "releases/download/" version
> +                                  "/nudoku-" version ".tar.xz"))
> +	      (sha256
> +               (base32
> +                "0nr2j2z07nxk70s8xnmmpzccxicf7kn5mbwby2kg6aq8paarjm8k"))))
> +    (build-system gnu-build-system)
> +    (inputs `(("ncurses" ,ncurses)))
> +    (home-page "https://jubalh.github.io/nudoku/")
> +    (synopsis "Sudoku for your terminal")
> +    (description "nudoku is a ncurses based sudoku game.")

I'd use "@code{nudoku}" here because it's the name of a program.

> +    (license license:gpl3+)))
> +
>  (define-public the-butterfly-effect
>    (package
>      (name "the-butterfly-effect")

Otherwise this looks fine and works well for me!