Message ID | DM5PR1001MB21054DCA8D09F60A9001AAB1C56B0@DM5PR1001MB2105.namprd10.prod.outlook.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#42183] gnu: Add emacs-literate-calc-mode. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
Hello, Morgan.J.Smith@outlook.com writes: > * gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable. Thank you. > + (version "20200703.723") Even though there is no actual release, the version, as specified in the ".el" file, is "0.1". So you need to bind a `version' and a `revision', and add a comment about it at the top of the package. > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://melpa.org/packages/literate-calc-mode-" > + version ".el")) We don't use source from MELPA. Please use `git-fetch' instead. > + (sha256 > + (base32 > + "1ck5ha12jrs6sfhhf3yaydji49bzakrk59agspg5xynxv22aka1v")))) Please move the hash on the same line as `base32'. > + (build-system emacs-build-system) > + (propagated-inputs > + `(("emacs-s" ,emacs-s))) > + (home-page "https://github.com/sulami/literate-calc-mode.el") > + (synopsis "Literate programming for Emacs calc") -> for Emacs Calc > + (description "Displays inline results for calculations, supports > +variables and updates as you type (if you want). Also works in your > +favourite markup mode.") The description should contain complete sentences, e.g. This library displays inline results... and supports... Could you send an updated patch? Regards,
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d829a38add..3cfb8c4ad6 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3520,6 +3520,28 @@ in Lisp modes.") (description "This package provides dynamic evaluation in Emacs.") (license license:gpl3+)))) +(define-public emacs-literate-calc-mode + (package + (name "emacs-literate-calc-mode") + (version "20200703.723") + (source + (origin + (method url-fetch) + (uri (string-append "https://melpa.org/packages/literate-calc-mode-" + version ".el")) + (sha256 + (base32 + "1ck5ha12jrs6sfhhf3yaydji49bzakrk59agspg5xynxv22aka1v")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-s" ,emacs-s))) + (home-page "https://github.com/sulami/literate-calc-mode.el") + (synopsis "Literate programming for Emacs calc") + (description "Displays inline results for calculations, supports +variables and updates as you type (if you want). Also works in your +favourite markup mode.") + (license license:gpl3+))) + (define-public emacs-string-inflection (package (name "emacs-string-inflection")
From: Morgan Smith <Morgan.J.Smith@outlook.com> * gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)