[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: laby: Use new package style.
From: |
guix-commits |
Subject: |
04/12: gnu: laby: Use new package style. |
Date: |
Thu, 11 May 2023 10:39:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 420b6a85558204f3261d81e443e0c2c81e9c790b
Author: Ivana Drazovic <iv.dra@hotmail.com>
AuthorDate: Wed Apr 19 21:53:54 2023 +0200
gnu: laby: Use new package style.
* gnu/packages/games.scm (laby)[arguments]: Use gexps.
Use "this-package-input" to locate package input.
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/games.scm | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2e3994543a..58c09a5b3b 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -76,6 +76,8 @@
;;; Copyright © 2022 Hendursaga <hendursaga@aol.com>
;;; Copyright © 2022 Parnikkapore <poomklao@yahoo.com>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2023 Florian Pelz <pelzflorian@pelzflorian.de>
+;;; Copyright © 2023 Ivana Drazovic <iv.dra@hotmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5903,17 +5905,17 @@ Linux / Mac OS X servers, and an auto mapper with a
VT100 map display.")
(inputs
(list lablgtk3 ocaml-lablgtk3-sourceview3 ocaml ocaml-findlib ocamlbuild))
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'set-library-path
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((lablgtk (assoc-ref inputs "lablgtk")))
- (setenv "LD_LIBRARY_PATH"
- (string-append lablgtk "/lib/ocaml/stublibs"))))))
- #:tests? #f ; no 'check' target
- #:make-flags
- (list (string-append "PREFIX=" (assoc-ref %outputs "out")) "all")))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'set-library-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((lablgtk #$(this-package-input "lablgtk")))
+ (setenv "LD_LIBRARY_PATH"
+ (string-append lablgtk "/lib/ocaml/stublibs"))))))
+ #:tests? #f ; no 'check' target
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output) "all")))
(home-page "https://sgimenez.github.io/laby/")
(synopsis "Programming game")
(description "Learn programming, playing with ants and spider webs ;-)
- 02/12: services: dhcp-client-configuration: Add 'shepherd-requirement' field., (continued)
- 02/12: services: dhcp-client-configuration: Add 'shepherd-requirement' field., guix-commits, 2023/05/11
- 01/12: gnu: home: services: fontutils: Add support for SXML fragments., guix-commits, 2023/05/11
- 10/12: services: Add vnstat-service-type., guix-commits, 2023/05/11
- 08/12: gnu: barrier: Include NULL compatibility., guix-commits, 2023/05/11
- 07/12: gnu: git: Update to 2.40.1 [security fixes]., guix-commits, 2023/05/11
- 09/12: doc: Update dicod-configuration example, guix-commits, 2023/05/11
- 05/12: gnu: laby: Make laby function in pure environments., guix-commits, 2023/05/11
- 12/12: tests: Add vnstat tests., guix-commits, 2023/05/11
- 03/12: doc: Clarify substitute* docstring with an example., guix-commits, 2023/05/11
- 06/12: gnu: laby: Add patch for being able to execute game code., guix-commits, 2023/05/11
- 04/12: gnu: laby: Use new package style.,
guix-commits <=
- 11/12: services: inetd: Export accessors., guix-commits, 2023/05/11