--- Begin Message ---
Subject: |
[PATCH] gnu: Add pipewalker. |
Date: |
Wed, 21 Mar 2018 00:39:30 +0100 |
* gnu/packages/games.scm (pipewalker): New public variable.
---
Guix,
Here's a little game to waste your time while you should be writing
patches.
Kind regards,
T G-R
gnu/packages/games.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9d63930e3..b0a6b2613 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -669,6 +669,46 @@ removed lines to all opponents. There is also a Demo mode
in which you can
watch your CPU playing while enjoying a cup of tea!")
(license license:gpl2+)))
+(define-public pipewalker
+ (package
+ (name "pipewalker")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://downloads.sourceforge.net/pipewalker/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1x46wgk0s55562pd96cxagxkn6wpgglq779f9b64ff1k3xzp3myn"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libpng" ,libpng)
+ ("mesa" ,mesa)
+ ("sdl" ,sdl)))
+ (arguments
+ `(#:configure-flags
+ (list (string-append "--docdir=" (assoc-ref %outputs "out")
+ "/share/doc/" ,name "-" ,version))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'patch-docdir
+ ;; Makefile.in ignores configure's ‘--docdir=...’ option. Fix that.
+ (lambda _
+ (substitute* "Makefile"
+ (("(pkgdocdatadir = ).*" _ key)
+ (string-append key "$(docdir)\n")))
+ #t)))))
+ (home-page "http://pipewalker.sourceforge.net/")
+ (synopsis "Logical tile puzzle")
+ (description
+ "PipeWalker is a simple puzzle game with many diffent themes: connect all
+computers to one network server, bring water from a source to the taps, etc.
+The underlying mechanism is always the same: you must turn each tile in the
+grid in the right direction to combine all components into a single circuit.
+Every puzzle has a complete solution, although there may be more than one.")
+ (license license:gpl3+)))
+
(define-public prboom-plus
(package
(name "prboom-plus")
--
2.15.1
--- End Message ---
--- Begin Message ---
Subject: |
[PATCH] gnu: Add pipewalker. |
Date: |
Thu, 30 Aug 2018 20:10:35 +0200 |
Ricardo, Guix,
On 2018-03-22 0:22, Ricardo Wurmus wrote:
It’s just a minor irritation for me, but I always expect to see
the
“arguments” field right below the build system field, because it
defines arguments for the build system.
I have seen the light. Done in
8294362688096145547464ceaa25edd5cc65d024.
Thanks!
T G-R
--- End Message ---