me
/
guix
Archived
1
0
Fork 0

gnu: emacs-ledger-mode: Update to 4.0.0.

* gnu/packages/finance.scm (emacs-ledger-mode): Update to 4.0.0.
[arguments]<#:tests?>: Remove argument.
[phases] check: Replace with working check phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
nixo 2020-11-02 11:15:06 +01:00 committed by Ludovic Courtès
parent 89a4eb38c9
commit 31b97a089d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 62 additions and 62 deletions

View File

@ -355,21 +355,18 @@ in ability, and easy to use.")
"See src/wcwidth.cc in the distribution."))))) "See src/wcwidth.cc in the distribution.")))))
(define-public emacs-ledger-mode (define-public emacs-ledger-mode
;; There have been no new releases since 2016.
(let ((commit "253a20dc62e137ed0ed8e1dd8614ecba116610ea")
(revision "1"))
(package (package
(name "emacs-ledger-mode") (name "emacs-ledger-mode")
(version (git-version "3.1.1" revision commit)) (version "4.0.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/ledger/ledger-mode") (url "https://github.com/ledger/ledger-mode")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "06wrgkqpgvk17vibrk2qikdlqn8y63jg86marp1wgmram92mb3jk")))) (base32 "1r5rcyxd6d1rqwamzpvqdbkbdf1zbj75aaciqijrklnm59ps244y"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:modules ((guix build cmake-build-system) `(#:modules ((guix build cmake-build-system)
@ -377,7 +374,6 @@ in ability, and easy to use.")
(guix build emacs-utils)) (guix build emacs-utils))
#:imported-modules (,@%cmake-build-system-modules #:imported-modules (,@%cmake-build-system-modules
(guix build emacs-utils)) (guix build emacs-utils))
#:tests? #f ; there are none
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-site-dir (add-after 'unpack 'patch-site-dir
@ -406,7 +402,11 @@ in ability, and easy to use.")
(let* ((site-dir (string-append (assoc-ref outputs "out") (let* ((site-dir (string-append (assoc-ref outputs "out")
"/share/emacs/site-lisp"))) "/share/emacs/site-lisp")))
(emacs-generate-autoloads ,name site-dir)) (emacs-generate-autoloads ,name site-dir))
#t))))) #t))
(replace 'check
(lambda _
(with-directory-excursion "../source/test"
(invoke "make" "test-batch")))))))
(inputs (inputs
`(("ledger" ,ledger))) `(("ledger" ,ledger)))
(native-inputs (native-inputs
@ -429,7 +429,7 @@ a graph or html instead. Ledger is simple in concept, surprisingly rich
in ability, and easy to use. in ability, and easy to use.
This package provides the Emacs mode.") This package provides the Emacs mode.")
(license license:gpl2+)))) (license license:gpl2+)))
(define-public geierlein (define-public geierlein
(package (package