From ac710de16ee89d362936e6c3cfb039cde27485ef Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Sat, 29 Aug 2020 14:28:29 -0500 Subject: gnu: Add emacs-org-webring. * gnu/packages/emacs-xyz.scm (emacs-org-webring): New variable. --- gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0755926ffe..24d7ee0e74 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -24369,3 +24369,41 @@ (define-public emacs-highlight of this library depends on overlays, which by default are not picked up when copy-pasting text from buffer to buffer.") (license license:gpl2+)))) + +(define-public emacs-org-webring + (package + (name "emacs-org-webring") + (version "1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~brettgilio/org-webring") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1snxkp2rc48y4gmc5arslfg06yf2a2axln4gvi4piiz1cvcva9gy")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-assets + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (assets + (string-append out "/share/emacs/org-webring-assets"))) + (mkdir-p assets) + (copy-recursively "assets" assets) + #t)))))) + (propagated-inputs + `(("emacs-xmlgen" ,emacs-xmlgen))) + (home-page "https://sr.ht/~brettgilio/org-webring") + (synopsis "Generate webrings for Org-based sites / blogs") + (description "Org-webring is an alternative implementation of a +feed-based webring, taking inspiration from openring by Drew DeVault. +Intended to integrate with Org-based websites and blogs (either +directly, or indirectly, as in ox-hugo), it will fetch a given list of +web feed files and correctly parse and format the elements to be +displayed for sharing.") + (license license:gpl3+))) -- cgit v1.2.3