mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-org-fc: Update to 0.4.0.
* gnu/packages/emacs-xyz.scm (emacs-org-fc): Update to 0.4.0. [arguments]<#:phases>: Fix build error by adding missing (require 'eieio). <#:test-command>: Load more tests. [native-inputs]: Add EMACS-EL-MOCK. Change-Id: Ibdaf38f3dd8f3018bf2b7b53cd94626b983fc953
This commit is contained in:
parent
a9d5628f5b
commit
9e9c1613dd
1 changed files with 49 additions and 42 deletions
|
@ -4844,7 +4844,7 @@ that the binary uses instead of the actual binary contents.")
|
||||||
(define-public emacs-org-fc
|
(define-public emacs-org-fc
|
||||||
(package
|
(package
|
||||||
(name "emacs-org-fc")
|
(name "emacs-org-fc")
|
||||||
(version "0.3.0")
|
(version "0.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -4853,7 +4853,7 @@ that the binary uses instead of the actual binary contents.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "17cdn4sdyb9fs9w725l155lb74inzdn86m8y62m6hn4dgb5l4spm"))))
|
(base32 "09s493p2ccvc1zd297kldwinhn6imnmyik98qc56ndb7dp0dwa0x"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -4863,6 +4863,7 @@ that the binary uses instead of the actual binary contents.")
|
||||||
#:test-command #~(list "emacs" "--batch"
|
#:test-command #~(list "emacs" "--batch"
|
||||||
"-L" "."
|
"-L" "."
|
||||||
"-L" "tests/"
|
"-L" "tests/"
|
||||||
|
"-l" "tests/org-fc-card-test.el"
|
||||||
"-l" "tests/org-fc-filter-test.el"
|
"-l" "tests/org-fc-filter-test.el"
|
||||||
"-l" "tests/org-fc-indexer-test.el"
|
"-l" "tests/org-fc-indexer-test.el"
|
||||||
"-l" "tests/org-fc-review-data-test.el"
|
"-l" "tests/org-fc-review-data-test.el"
|
||||||
|
@ -4877,7 +4878,13 @@ that the binary uses instead of the actual binary contents.")
|
||||||
(substitute* "org-fc-awk.el"
|
(substitute* "org-fc-awk.el"
|
||||||
(("\"find ") (string-append "\"" find " "))
|
(("\"find ") (string-append "\"" find " "))
|
||||||
(("\"gawk ") (string-append "\"" gawk " "))
|
(("\"gawk ") (string-append "\"" gawk " "))
|
||||||
(("\"xargs ") (string-append "\"" xargs " ")))))))))
|
(("\"xargs ") (string-append "\"" xargs " "))))))
|
||||||
|
(add-after 'unpack 'require-eieio
|
||||||
|
(lambda _
|
||||||
|
(substitute* "org-fc-core.el"
|
||||||
|
(("\\(require 'cl-lib\\)" line)
|
||||||
|
(string-append line "\n(require 'eieio)"))))))))
|
||||||
|
(native-inputs (list emacs-el-mock))
|
||||||
(inputs (list findutils gawk))
|
(inputs (list findutils gawk))
|
||||||
(propagated-inputs (list emacs-hydra))
|
(propagated-inputs (list emacs-hydra))
|
||||||
(home-page "https://www.leonrische.me/fc/index.html")
|
(home-page "https://www.leonrische.me/fc/index.html")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue