From: conses <contact@conses.eu>
To: 61711@debbugs.gnu.org
Subject: [bug#61711] [PATCH] gnu: Add emacs-calc-currency.
Date: Wed, 22 Feb 2023 16:35:52 +0100 [thread overview]
Message-ID: <867cw9sofb.fsf@conses.eu> (raw)
* gnu/packages/emacs-xyz.scm (emacs-calc-currency): New variable.
---
gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3b12642bc9..f4c5caaa1a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6273,6 +6273,38 @@ (define-public emacs-literate-elisp
Emacs can load Org files as Lisp source files directly.")
(license license:gpl3+)))
+(define-public emacs-calc-currency
+ (let ((commit "7021d892ef38b01b875082aba4bae2517ce47ae6")
+ (revision "0"))
+ (package
+ (name "emacs-calc-currency")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jws85/calc-currency")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0y4m0hasg4ji6zfis3088hq90pm9998lnnh8yg9g8yqqaqpfizp8"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-f))
+ (arguments
+ (list #:tests? #t
+ #:test-command #~(list "emacs" "--batch"
+ "-L" "."
+ "-l" "test/calc-currency-init.el"
+ "-l" "test/calc-currency-ecb-test.el"
+ "-l" "test/calc-currency-oxr-test.el"
+ ;; test/calc-currency-utils-test.el fails
+ "-f" "ert-run-tests-batch-and-exit")))
+ (home-page "https://github.com/jws85/calc-currency")
+ (synopsis "Add currency units to Emacs Calc")
+ (description "This package adds custom units to the Units Table in Emacs
+Calc by fetching exchange rates backends.")
+ (license license:gpl3+))))
+
(define-public emacs-literate-calc-mode
(let ((commit "ba7d22140a165b0fdd900a8d04916115ca6ab8ff")
(revision "2"))
--
2.39.1
--
Best regards,
conses
next reply other threads:[~2023-02-22 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-22 15:35 conses [this message]
2023-02-23 14:30 ` bug#61711: [PATCH] gnu: Add emacs-calc-currency Nicolas Goaziou
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=867cw9sofb.fsf@conses.eu \
--to=contact@conses.eu \
--cc=61711@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).