unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Paul A. Patience" <paul@apatience.com>
To: 56368@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#56368] [PATCH 3/4] gnu: Add egawk-next.
Date: Sun, 03 Jul 2022 13:02:07 +0000	[thread overview]
Message-ID: <20220703130154.879277-2-paul@apatience.com> (raw)
In-Reply-To: <20220703130154.879277-1-paul@apatience.com>

* gnu/packages/gawk.scm (egawk-next): New variable.
---
 gnu/packages/gawk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 52ac66f9bb..f0e034b750 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -28,6 +28,7 @@ (define-module (gnu packages gawk)
   #: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 @@ (define-public gawk-mpfr
      (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/git/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")
--
2.36.1






  reply	other threads:[~2022-07-03 13:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-03 12:59 [bug#56368] [PATCH 1/4] gnu: Use 'license:' prefix in (gnu packages gawk) Paul A. Patience
2022-07-03 13:01 ` [bug#56368] [PATCH 2/4] gnu: Add gawk-mpfr Paul A. Patience
2022-07-03 13:02   ` Paul A. Patience [this message]
2022-07-03 13:02   ` [bug#56368] [PATCH 4/4] gnu: Add cppawk and cppawk-egawk Paul A. Patience
2022-07-04  4:59 ` [bug#56368] [PATCH v2 0/4] " Paul A. Patience
2022-07-04  4:59   ` [bug#56368] [PATCH v2 1/4] gnu: Use 'license:' prefix in (gnu packages gawk) Paul A. Patience
2022-07-04  4:59   ` [bug#56368] [PATCH v2 2/4] gnu: Add gawk-mpfr Paul A. Patience
2022-07-04  4:59   ` [bug#56368] [PATCH v2 3/4] gnu: Add egawk-next Paul A. Patience
2022-07-04  4:59   ` [bug#56368] [PATCH v2 4/4] gnu: Add cppawk and cppawk-egawk Paul A. Patience
2022-07-08 15:39   ` bug#56368: [PATCH 1/4] gnu: Use 'license:' prefix in (gnu packages gawk) Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220703130154.879277-2-paul@apatience.com \
    --to=paul@apatience.com \
    --cc=56368@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).