[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add egawk-next.
From: |
guix-commits |
Subject: |
07/08: gnu: Add egawk-next. |
Date: |
Fri, 8 Jul 2022 11:41:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 1fed71ce1976db9edf95fc4b99cac75a281fb526
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon Jul 4 04:59:33 2022 +0000
gnu: Add egawk-next.
* gnu/packages/gawk.scm (egawk-next): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/gawk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 52ac66f9bb..6b905f6654 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -28,6 +28,7 @@
#:use-module (gnu packages multiprecision)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu))
(define-public gawk
@@ -105,6 +106,34 @@ including network access, sorting, and large libraries.")
(modify-inputs (package-inputs gawk)
(prepend mpfr)))))
+;; Suffixed with -next because, similarly to Emacs, development versions are
+;; numbered x.y.60+z, and also there are no tagged versions of egawk yet.
+;; (However, though egawk's --version lists 5.1.60, it is actually forked from
+;; a development version of gawk 5.1.1.)
+(define-public egawk-next
+ (let ((commit "f00e74ffc73f6ba6fe74fb7a26319770b8c3792c")
+ (revision "0"))
+ (package
+ (inherit gawk-mpfr)
+ (name "egawk-next")
+ (version (git-version "5.1.60" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://www.kylheku.com/git/egawk")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0bmfbw6k1aiyiardnk7ha5zlpkvavj013mm4n7wwj2vdcgrs6p1f"))))
+ (home-page "https://www.kylheku.com/cgit/egawk/")
+ (synopsis "Enhanced GNU Awk")
+ (description
+ "@command{egawk} is Enhanced GNU Awk. It is a fork of GNU Awk with
+some enhancements designed and implemented by Kaz Kylheku. In particular,
+Enhanced GNU Awk provides the @code{@@let} statement for declaring
+block-scoped lexical variables."))))
+
(define-public mawk
(package
(name "mawk")
- branch master updated (ff751a68dc -> e07fa9b040), guix-commits, 2022/07/08
- 05/08: gnu: Use 'license:' prefix in (gnu packages gawk)., guix-commits, 2022/07/08
- 07/08: gnu: Add egawk-next.,
guix-commits <=
- 02/08: doc: cookbook: Suggest 'guix shell'., guix-commits, 2022/07/08
- 03/08: doc: cookbook: Link to "A Scheme Primer"., guix-commits, 2022/07/08
- 06/08: gnu: Add gawk-mpfr., guix-commits, 2022/07/08
- 01/08: gnu: curl@7.84.0: Reduce lib3026 resource use on 32-bit platforms., guix-commits, 2022/07/08
- 04/08: gnu: python-graph-tool: Update to 2.45., guix-commits, 2022/07/08
- 08/08: gnu: Add cppawk and cppawk-egawk., guix-commits, 2022/07/08