[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/40: gnu: simh: Use G-Expressions.
From: |
guix-commits |
Subject: |
19/40: gnu: simh: Use G-Expressions. |
Date: |
Tue, 5 Sep 2023 20:02:18 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 2ae57c98a9e50105fc2f967b5350c63ff8f22dbd
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Fri Sep 1 22:53:06 2023 +0800
gnu: simh: Use G-Expressions.
* gnu/packages/simh.scm (simh)[arguments]: Convert to list of G-Expressions.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/simh.scm | 70 +++++++++++++++++++++++++--------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/simh.scm b/gnu/packages/simh.scm
index 2cf92516ba..9f5c04d8fb 100644
--- a/gnu/packages/simh.scm
+++ b/gnu/packages/simh.scm
@@ -19,6 +19,7 @@
(define-module (gnu packages simh)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -48,41 +49,40 @@
(inputs
(list libpcap))
(arguments
- `(#:tests? #f
- #:make-flags (list
- (string-append "GCC=" ,(cc-for-target) " -fcommon"))
- #:modules ((ice-9 string-fun)
- ,@%gnu-build-system-modules)
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'prepare-build
- (lambda _
- (substitute* "makefile"
- (("LIBPATH:=/usr/lib")
- (string-append "LIBPATH:="
- (string-replace-substring
- (getenv "LIBRARY_PATH") ":" " ")))
- (("export LIBRARY_PATH = .*") ""))
- (mkdir "BIN")))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin/"))
- (lib (string-append out "/lib/simh/")))
- (mkdir-p bin)
- (mkdir-p lib)
- (for-each
- (lambda (file)
- (copy-file file (string-append bin
- "simh-"
- (basename file))))
- (find-files "BIN"))
- (for-each
- (lambda (file)
- (copy-file file (string-append lib
- (basename file))))
- (find-files "VAX" "bin$"))))))))
+ (list #:tests? #f
+ #:make-flags
+ #~(list (string-append "GCC=" #$(cc-for-target) " -fcommon"))
+ #:modules `((ice-9 string-fun)
+ ,@%gnu-build-system-modules)
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'prepare-build
+ (lambda _
+ (substitute* "makefile"
+ (("LIBPATH:=/usr/lib")
+ (string-append "LIBPATH:="
+ (string-replace-substring
+ (getenv "LIBRARY_PATH") ":" " ")))
+ (("export LIBRARY_PATH = .*") ""))
+ (mkdir "BIN")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin/"))
+ (lib (string-append out "/lib/simh/")))
+ (mkdir-p bin)
+ (mkdir-p lib)
+ (for-each (lambda (file)
+ (copy-file file
+ (string-append bin "simh-"
+ (basename file))))
+ (find-files "BIN"))
+ (for-each (lambda (file)
+ (copy-file file
+ (string-append lib
+ (basename file))))
+ (find-files "VAX" "bin$"))))))))
(home-page "http://simh.trailing-edge.com")
(synopsis "Collection of simulators from The Computer History Simulation
Project")
- 20/40: gnu: Add font-junicode., (continued)
- 20/40: gnu: Add font-junicode., guix-commits, 2023/09/05
- 24/40: gnu: kdenlive: Add missing kirigami input., guix-commits, 2023/09/05
- 33/40: gnu: arcan-wayland: Deprecate in favor of arcan., guix-commits, 2023/09/05
- 10/40: gnu: ibus: Disable registry cache., guix-commits, 2023/09/05
- 08/40: gnu: emacs-transient: Update to 0.4.3-0.cc0fa80., guix-commits, 2023/09/05
- 05/40: gnu: highlight: Update to 4.8., guix-commits, 2023/09/05
- 01/40: gnu: ungoogled-chromium-wayland: Use gexp., guix-commits, 2023/09/05
- 14/40: gnu: sideload: Update to 6.2.1., guix-commits, 2023/09/05
- 06/40: gnu: Add fonts-tlwg., guix-commits, 2023/09/05
- 15/40: gnu: kaidan: Add missing input., guix-commits, 2023/09/05
- 19/40: gnu: simh: Use G-Expressions.,
guix-commits <=
- 34/40: gnu: ardour: Build locales., guix-commits, 2023/09/05
- 29/40: gnu: arcan: Build all features., guix-commits, 2023/09/05
- 32/40: gnu: arcan: Restyle format., guix-commits, 2023/09/05
- 38/40: gnu: python-skia-pathops: Update to 0.8.0., guix-commits, 2023/09/05
- 18/40: gnu: simh: Update to 3.12-4., guix-commits, 2023/09/05
- 39/40: Revert "guix: git: Avoid touching the network unless needed in 'reference-available?'.", guix-commits, 2023/09/05
- 27/40: gnu: xarcan: Fix indentation., guix-commits, 2023/09/05
- 36/40: gnu: skia: Update to 110.0.0f3fb7a., guix-commits, 2023/09/05
- 26/40: gnu: xarcan: Update to 0.6.1., guix-commits, 2023/09/05
- 35/40: gnu-maintenance: Do not crash on refresh when origin URI is a list., guix-commits, 2023/09/05