[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/40: gnu: emacs-org-web-tools: Improve package style.
From: |
guix-commits |
Subject: |
35/40: gnu: emacs-org-web-tools: Improve package style. |
Date: |
Wed, 8 Nov 2023 09:31:06 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit bbc8a1252422f186871b2fb09d1dc5de24dcdfbf
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Nov 8 15:06:12 2023 +0100
gnu: emacs-org-web-tools: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-org-web-tools)[arguments]: Use
G-expressions. Remove trailing #T from phases.
[description]: Use proper quoting and name for Org project.
Change-Id: Ifdec8ab61fc44f2a73da87a1fd042140e691e5ae
---
gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e0885723ef..2ba3e1f107 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28174,23 +28174,24 @@ This package also includes a @code{yt-dlp}
front-end.")
(inputs
(list pandoc))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-exec-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((pandoc (assoc-ref inputs "pandoc")))
- (substitute* "org-web-tools.el"
- (("\"pandoc\"") (string-append "\"" pandoc "/bin/pandoc\"")))
- #t))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((pandoc (search-input-file inputs "/bin/pandoc")))
+ (substitute* "org-web-tools.el"
+ (("\"pandoc\"") (string-append "\"" pandoc "\"")))))))))
(home-page "https://github.com/alphapapa/org-web-tools")
- (synopsis "Display/Process web page as Org-mode content")
- (description "This package contains library functions and commands useful
-for retrieving web page content and processing it into Org-mode content.
-
-For example, you can copy a URL to the clipboard or kill-ring, then run a
-command that downloads the page, isolates the “readable” content with
-@command{eww-readable}, converts it to Org-mode content with Pandoc, and
-displays it in an Org-mode buffer. Another command does all of that but
+ (synopsis "Display/Process web page as Org mode content")
+ (description
+ "This package contains library functions and commands useful
+for retrieving web page content and processing it into Org mode content.
+
+For example, you can copy a URL to the clipboard or kill-ring, then run
+a command that downloads the page, isolates the ``readable'' content with
+@command{eww-readable}, converts it to Org mode content with Pandoc, and
+displays it in an Org mode buffer. Another command does all of that but
inserts it as an Org entry instead of displaying it in a new buffer.")
(license license:gpl3+)))
- 21/40: gnu: emacs-citar: Update to 1.4.0., (continued)
- 21/40: gnu: emacs-citar: Update to 1.4.0., guix-commits, 2023/11/08
- 25/40: gnu: emacs-eldev: Update to 1.7., guix-commits, 2023/11/08
- 37/40: gnu: emacs-package-lint: Update to 0.20., guix-commits, 2023/11/08
- 38/40: gnu: emacs-package-lint: Improve package style., guix-commits, 2023/11/08
- 40/40: gnu: emacs-yeetube: Update to 2.0.7., guix-commits, 2023/11/08
- 03/40: gnu: emacs-relint: Update to 1.24., guix-commits, 2023/11/08
- 16/40: gnu: emacs-url-http-ntlm: Update to 2.0.5., guix-commits, 2023/11/08
- 23/40: gnu: emacs-ebuild-mode: Update to 1.69., guix-commits, 2023/11/08
- 30/40: gnu: emacs-jarchive: Update to 0.11.0., guix-commits, 2023/11/08
- 34/40: gnu: emacs-org-web-tools: Update to 1.2., guix-commits, 2023/11/08
- 35/40: gnu: emacs-org-web-tools: Improve package style.,
guix-commits <=
- 11/40: gnu: emacs-counsel: Update to 0.14.2., guix-commits, 2023/11/08
- 13/40: gnu: emacs-zones: Update to 2023.6.11., guix-commits, 2023/11/08
- 20/40: gnu: emacs-base16-theme: Update to 3.2., guix-commits, 2023/11/08
- 22/40: gnu: emacs-ebib: Update to 2.39.4., guix-commits, 2023/11/08
- 26/40: gnu: emacs-elfeed-protocol: Update to 0.9.1., guix-commits, 2023/11/08
- 33/40: gnu: emacs-org-ql: Update to 0.7.3., guix-commits, 2023/11/08
- 36/40: gnu: emacs-osm: Update to 0.14., guix-commits, 2023/11/08
- 39/40: gnu: emacs-projectile: Update to 2.8.0., guix-commits, 2023/11/08
- 24/40: gnu: emacs-ef-themes: Update to 1.4.0., guix-commits, 2023/11/08
- 29/40: gnu: emacs-git-modes: Update to 1.4.2., guix-commits, 2023/11/08