gnu: emacs-org-contrib: Update to 0.2.

* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 0.2.
This commit is contained in:
Nicolas Goaziou 2021-10-01 10:14:52 +02:00
parent 88c37b6ac7
commit df9d72ddb0
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -12247,52 +12247,40 @@ programming and reproducible research.")
(define-public emacs-org-contrib (define-public emacs-org-contrib
(package (package
(inherit emacs-org)
(name "emacs-org-contrib") (name "emacs-org-contrib")
(version "20210519") (version "0.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://orgmode.org/elpa/" (uri (git-reference
"org-plus-contrib-" version ".tar")) (url "https://git.sr.ht/~bzg/org-contrib")
(commit (string-append "release_" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "0g765fsc7ssn779xnhjzrxy1sz5b019h7dk1q26yk2w6i540ybfl")) (base32 "0dn6arrmm0rrm2vi94fj5fjb030ggxf8cvpmi68wr0fh8xm5l1sh"))
;; ob-sclang.el is packaged separately to avoid the dependency on ;; ob-sclang.el is packaged separately to avoid the dependency on
;; SuperCollider and qtwebengine. ;; SuperCollider and qtwebengine.
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet '(begin (delete-file "ob-sclang.el") #t)))) (snippet '(begin (delete-file "lisp/ob-sclang.el")))))
(build-system emacs-build-system)
(arguments (arguments
`(#:modules ((guix build emacs-build-system) `(#:phases
(guix build utils)
(guix build emacs-utils)
(ice-9 ftw)
(srfi srfi-1))
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'install 'delete-org-files (add-after 'unpack 'enter-source-directory
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda _
(let* ((out (assoc-ref outputs "out")) (chdir "lisp"))))))
(org (assoc-ref inputs "org"))
(contrib-files
(map basename (find-files out)))
(org+contrib-files
(map basename (find-files org)))
(duplicates (lset-intersection string=?
contrib-files
org+contrib-files)))
(with-directory-excursion (elpa-directory out)
(for-each delete-file duplicates))
#t))))))
(propagated-inputs (propagated-inputs
`(("arduino-mode" ,emacs-arduino-mode) `(("arduino-mode" ,emacs-arduino-mode)
("cider" ,emacs-cider) ("cider" ,emacs-cider)
("org" ,emacs-org))) ("org" ,emacs-org)))
(synopsis "Contributed packages to Org mode") (home-page "https://git.sr.ht/~bzg/org-contrib")
(synopsis "Unmaintained add-ons for Org mode")
(description "Org is an Emacs mode for keeping notes, maintaining TODO (description "Org is an Emacs mode for keeping notes, maintaining TODO
lists, and project planning with a fast and effective plain-text system. lists, and project planning with a fast and effective plain-text system.
This package is equivalent to org-plus-contrib, but only includes additional This package is equivalent to org-plus-contrib, but only includes additional
files that you would find in @file{contrib/} from the git repository."))) files that you would find in @file{contrib/} from the git repository.")
(license license:gpl3+)))
(define-public emacs-org-pretty-table (define-public emacs-org-pretty-table
;; There is no release yet. ;; There is no release yet.