diff options
author | conses <contact@conses.eu> | 2023-02-22 16:35:52 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-02-23 15:25:42 +0100 |
commit | f629053a84d4606c644948e21461e35e65b13589 (patch) | |
tree | abc5ab4b80305d571e0820ced2cb92607a5063b4 /gnu | |
parent | 8596f4d3b42d66a28b46966078d7af211ea19585 (diff) | |
download | guix-f629053a84d4606c644948e21461e35e65b13589.tar.gz |
gnu: Add emacs-calc-currency.
* gnu/packages/emacs-xyz.scm (emacs-calc-currency): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0ca1f27e61..d63f4b6a5d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6275,6 +6275,39 @@ literal programming in Emacs lisp. It extends the Emacs load mechanism so 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) + (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"))) + (propagated-inputs (list emacs-f)) + (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")) |