[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/85: gnu: Add mawk-mesboot.
From: |
guix-commits |
Subject: |
46/85: gnu: Add mawk-mesboot. |
Date: |
Tue, 17 Dec 2024 04:08:10 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit dfcd09fff4692cbc83cbf83d6dc6d11f1d4b33b8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 21 14:53:03 2024 +0300
gnu: Add mawk-mesboot.
* gnu/packages/commencement.scm (mawk-mesboot): New variable.
Change-Id: Ia04d70557682aef705eebe8caccb59ce68406ffc
---
gnu/packages/commencement.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 723b6ec5ad..774f0fe2b7 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2156,6 +2156,40 @@ ac_cv_c_float_format='IEEE (little-endian)'
(install-file "gawk" bin)
(symlink "gawk" (string-append bin "/awk"))))))))))
+(define mawk-mesboot
+ (package
+ (inherit mawk)
+ (name "mawk-mesboot")
+ (version "1.3.4-20240905")
+ (source (bootstrap-origin
+ (origin
+ (method url-fetch)
+ (uri (string-append
"https://invisible-mirror.net/archives/mawk"
+ "/mawk-" version ".tgz"))
+ ;; Our gzip and tar don't know how to unpack a '.tgz' file.
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q4rfcv7ppfw4fra8hp8z0s4qnsv1x598ny4xwb026zsgn96g6d3"))
+ (snippet
+ #~(begin (delete-file "parse.c"))))))
+ (native-inputs
+ (modify-inputs (if (target-x86?)
+ (%boot-mesboot2-inputs)
+ (%boot-muslboot2-inputs))
+ (append byacc-mesboot)))
+ (inputs '())
+ (propagated-inputs '())
+ (arguments
+ `(#:implicit-inputs? #f
+ #:parallel-build? #f ; Prevent race condition
+ #:guile ,%bootstrap-guile
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "./mawk" "--version"))))))))
+
(define (%boot-mesboot3-inputs)
`(("binutils" ,binutils-mesboot)
("gawk" ,gawk-mesboot)
- 73/85: fixup mpfr-boot, (continued)
- 73/85: fixup mpfr-boot, guix-commits, 2024/12/17
- 61/85: gnu: musl-boot0: Improve the install phase., guix-commits, 2024/12/17
- 79/85: gnu: gcc-muslboot: Use full gcc sources., guix-commits, 2024/12/17
- 43/85: gnu: Add byacc-mesboot., guix-commits, 2024/12/17
- 02/85: gnu: tcc-boot0: Update to 0.9.26-1157-gdd46e018., guix-commits, 2024/12/17
- 28/85: gnu: Add binutils-muslboot0., guix-commits, 2024/12/17
- 33/85: gnu: mpc-boot: Update and build package., guix-commits, 2024/12/17
- 32/85: gnu: mpfr-boot: Update and build package., guix-commits, 2024/12/17
- 35/85: gnu: gcc-mesboot1: Fix native-search-paths., guix-commits, 2024/12/17
- 41/85: gnu: Add %boot-muslboot2-inputs., guix-commits, 2024/12/17
- 46/85: gnu: Add mawk-mesboot.,
guix-commits <=
- 63/85: fixup gnu: musl-boot0: Improve the install phase., guix-commits, 2024/12/17
- 74/85: fixup musl-boot, guix-commits, 2024/12/17
- 70/85: gnu: binutils-muslboot0: Don't compress the documentation., guix-commits, 2024/12/17
- 57/85: gnu: gawk-boot0: Remove pre-generated source file., guix-commits, 2024/12/17
- 58/85: gnu: ed: Update to 1.20.2., guix-commits, 2024/12/17
- 40/85: gnu: Add gcc-muslboot., guix-commits, 2024/12/17
- 26/85: gnu: Add tcc-musl., guix-commits, 2024/12/17
- 29/85: gnu: Add %boot-tcc-musl-inputs., guix-commits, 2024/12/17
- 53/85: gnu: file-boot0: Fix building on riscv64-linux., guix-commits, 2024/12/17
- 42/85: gnu: hello-mesboot: Add support for riscv64-linux., guix-commits, 2024/12/17