[bug#62921] gnu: emacs-gerbil-mode: Add emacs-gerbil-mode.
Commit Message
* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
base-commit: 774a6fb12c884766856c86c00adaa8f2a1d42508
Comments
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,
@@ -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")