Subject: bug#32283: Add chroma (a little video game)

From: Björn Höfling <[email-masked]>
Date: Sat, 28 Jul 2018 22:57:37 +0200

On Thu, 26 Jul 2018 17:40:06 -0400
Christopher Lemmer Webber <[email-masked]> wrote:

> From 3ca38f3813eb7e6473673622de04b8fbb03d256d Mon Sep 17 00:00:00 2001
> From: Christopher Lemmer Webber <[email-masked]>
> Date: Thu, 26 Jul 2018 17:37:53 -0400
> Subject: [PATCH] gnu: Add chroma.
> 
> * gnu/packages/games.scm (chroma): New variable.
> ---
>  gnu/packages/games.scm | 34 +++++++++++++++++++++++++++++++++-
>  1 file changed, 33 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 4af0b52e8..b19caacc7 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -10,7 +10,7 @@
>  ;;; Copyright © 2014, 2015 Mark H Weaver <[email-masked]>
>  ;;; Copyright © 2015, 2016 Andreas Enge <[email-masked]>
>  ;;; Copyright © 2015 David Hashe <[email-masked]>
> -;;; Copyright © 2015, 2017 Christopher Allan Webber
> <[email-masked]> +;;; Copyright © 2015, 2017, 2018
> Christopher Lemmer Webber <[email-masked]> ;;; Copyright ©
> 2015, 2016, 2017, 2018 Ricardo Wurmus <[email-masked]> ;;;
> Copyright © 2015, 2016, 2017 Alex Kost <[email-masked]> ;;;
> Copyright © 2015 Paul van der Walt <[email-masked]> @@ -3983,6
> +3983,38 @@ laws of physics (Enigma’s special laws of physics, that
> is), controlling them with the mouse isn’t always trivial.") (license
> license:gpl2+))) 
> +(define-public chroma
> +  (package
> +    (name "chroma")
> +    (version "1.15")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> "http://level7.org.uk/chroma/download/chroma-"
> +                                  version ".tar.bz2"))
> +              (sha256
> +               (base32
> +
> "0nzm3j5wjazr1d6pkydqlc48sjf72hggq0hmx8mhq03114mmiir5"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f)) ; no tests included
> +    (inputs
> +     `(("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer
> sdl-ttf)))
> +       ("freetype" ,freetype)
> +       ("ncurses" ,ncurses)
> +       ("fontconfig" ,fontconfig)
> +       ("libxft" ,libxft)))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (home-page "http://level7.org.uk/chroma/")
> +    (synopsis "Abstract puzzle game")
> +    (description "Chroma is an abstract puzzle game. A variety of
> colourful +shapes are arranged in a series of increasingly complex
> patterns, forming
> + fiendish traps that must be disarmed and mysterious puzzles that
> must be
> + manipulated in order to give up their subtle secrets. Initially so
> + straightforward that anyone can pick it up and begin to play, yet
> gradually
> + becoming difficult enough to tax even the brightest of minds.")
> +    (license license:gpl2+)))
> +
>  (define-public fillets-ng
>    (package
>      (name "fillets-ng")

LGTM.

The only "bug" here is you posted it to the bugs tracker, not the
patches-tracker.

Björn