* [bug#62921] [PATCH] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode.
@ 2023-04-18 3:37 Juliana Sims
2023-04-18 13:29 ` Nicolas Goaziou
2023-04-18 17:05 ` [bug#62921] [PATCH v2] " Juliana Sims
0 siblings, 2 replies; 4+ messages in thread
From: Juliana Sims @ 2023-04-18 3:37 UTC (permalink / raw)
To: 62921; +Cc: Juliana Sims, liliana.prikler
* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c1748e7f36..185dde1672 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -125,6 +125,7 @@
;;; Copyright © 2022 Demis Balbach <db@minikn.xyz>
;;; Copyright © 2020, 2021, 2022, 2023 Andrew Tropin <andrew@trop.in>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
+;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35994,6 +35995,33 @@ (define-public emacs-fennel-mode
Fennel code within Emacs.")
(license license:gpl3+))))
+(define-public emacs-gerbil-mode
+ (package
+ (name "emacs-gerbil-mode")
+ (version "0.17.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vyzo/gerbil")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0c0nspm659ybgmqlppdv7sxzll4hwkvcp9qmcsip6d0kz0p8r9c3"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'change-directory
+ (lambda _
+ (chdir "etc"))))))
+ (home-page "https://github.com/vyzo/gervil")
+ (synopsis "Emacs major-mode for editing Gerbil code")
+ (description
+ "Gerbil mode provides font-lock, indentation, navigation, and REPL for
+Gerbil code within Emacs.")
+ (license (list license:lgpl2.1 license:asl2.0))))
+
(define-public emacs-org-modern
(package
(name "emacs-org-modern")
base-commit: 774a6fb12c884766856c86c00adaa8f2a1d42508
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#62921] [PATCH] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode.
2023-04-18 3:37 [bug#62921] [PATCH] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode Juliana Sims
@ 2023-04-18 13:29 ` Nicolas Goaziou
2023-04-18 17:05 ` [bug#62921] [PATCH v2] " Juliana Sims
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-04-18 13:29 UTC (permalink / raw)
To: Juliana Sims; +Cc: 62921, liliana.prikler
Hello,
Juliana Sims <juli@incana.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add
> emacs-gerbil-mode.
Thank you. Some comments follow.
> +(define-public emacs-gerbil-mode
> + (package
> + (name "emacs-gerbil-mode")
> + (version "0.17.0")
Note: according to "gerbil-mode.el", the version is actually "1.0".
However, I understand that the file is "tagged" as 0.17.0 as a part of
the whole Gerbil package.
Maybe the whole package should inherit from `gerbil' package so version,
source, home-page and license are already set in the parent. WDYT?
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/vyzo/gerbil")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "0c0nspm659ybgmqlppdv7sxzll4hwkvcp9qmcsip6d0kz0p8r9c3"))))
> + (build-system emacs-build-system)
> + (arguments
> + (list #:phases
> + #~(modify-phases %standard-phases
> + (add-before 'install 'change-directory
> + (lambda _
> + (chdir "etc"))))))
> + (home-page "https://github.com/vyzo/gervil")
Typo: gervil -> gerbil
> + (synopsis "Emacs major-mode for editing Gerbil code")
> + (description
> + "Gerbil mode provides font-lock, indentation, navigation, and REPL for
> +Gerbil code within Emacs.")
> + (license (list license:lgpl2.1 license:asl2.0))))
First license is lgpl2.1+. You should also mention in a comment that one
can choose either.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#62921] [PATCH v2] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode.
2023-04-18 3:37 [bug#62921] [PATCH] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode Juliana Sims
2023-04-18 13:29 ` Nicolas Goaziou
@ 2023-04-18 17:05 ` Juliana Sims
2023-04-21 15:02 ` bug#62921: [PATCH] " Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Juliana Sims @ 2023-04-18 17:05 UTC (permalink / raw)
To: 62921; +Cc: Juliana Sims, liliana.prikler
Hi,
> Maybe the whole package should inherit from `gerbil' package so version,
> source, home-page and license are already set in the parent. WDYT?
I think that's a great idea! This version of the patch does that and also
sets this package version to 1.0.
Thanks,
Juli
---------BEGIN-PATCH---------
* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode.
---
gnu/packages/emacs-xyz.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6618aac332..9699fa6f32 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -125,6 +125,7 @@
;;; Copyright © 2022 Demis Balbach <db@minikn.xyz>
;;; Copyright © 2020, 2021, 2022, 2023 Andrew Tropin <andrew@trop.in>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
+;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -36015,6 +36016,22 @@ (define-public emacs-fennel-mode
Fennel code within Emacs.")
(license license:gpl3+))))
+(define-public emacs-gerbil-mode
+ (package
+ (inherit gerbil)
+ (name "emacs-gerbil-mode")
+ (version "1.0")
+ (build-system emacs-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-before 'install 'change-directory
+ (lambda _
+ (chdir "etc"))))))
+ (synopsis "Emacs major-mode for editing Gerbil code")
+ (description
+ "Gerbil mode provides font-lock, indentation, navigation, and REPL for
+Gerbil code within Emacs.")))
+
(define-public emacs-org-modern
(package
(name "emacs-org-modern")
base-commit: 286cdf0bc55a29d5a63f7191edde7ea4dbd8cf2a
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#62921: [PATCH] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode.
2023-04-18 17:05 ` [bug#62921] [PATCH v2] " Juliana Sims
@ 2023-04-21 15:02 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-04-21 15:02 UTC (permalink / raw)
To: Juliana Sims; +Cc: liliana.prikler, 62921-done
Hi Juliana,
Juliana Sims <juli@incana.org> skribis:
>> Maybe the whole package should inherit from `gerbil' package so version,
>> source, home-page and license are already set in the parent. WDYT?
>
> I think that's a great idea! This version of the patch does that and also
> sets this package version to 1.0.
Applied! Thank you & thanks Nicolas for reviewing!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-21 15:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 3:37 [bug#62921] [PATCH] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode Juliana Sims
2023-04-18 13:29 ` Nicolas Goaziou
2023-04-18 17:05 ` [bug#62921] [PATCH v2] " Juliana Sims
2023-04-21 15:02 ` bug#62921: [PATCH] " Ludovic Courtès
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).