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
This commit is contained in:
parent
9fef2524b1
commit
bbc8a12524
1 changed files with 16 additions and 15 deletions
|
@ -28174,23 +28174,24 @@ This package also includes a @code{yt-dlp} front-end.")
|
||||||
(inputs
|
(inputs
|
||||||
(list pandoc))
|
(list pandoc))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch-exec-paths
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'patch-exec-paths
|
||||||
(let ((pandoc (assoc-ref inputs "pandoc")))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "org-web-tools.el"
|
(let ((pandoc (search-input-file inputs "/bin/pandoc")))
|
||||||
(("\"pandoc\"") (string-append "\"" pandoc "/bin/pandoc\"")))
|
(substitute* "org-web-tools.el"
|
||||||
#t))))))
|
(("\"pandoc\"") (string-append "\"" pandoc "\"")))))))))
|
||||||
(home-page "https://github.com/alphapapa/org-web-tools")
|
(home-page "https://github.com/alphapapa/org-web-tools")
|
||||||
(synopsis "Display/Process web page as Org-mode content")
|
(synopsis "Display/Process web page as Org mode content")
|
||||||
(description "This package contains library functions and commands useful
|
(description
|
||||||
for retrieving web page content and processing it into Org-mode content.
|
"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
|
For example, you can copy a URL to the clipboard or kill-ring, then run
|
||||||
command that downloads the page, isolates the “readable” content with
|
a command that downloads the page, isolates the ``readable'' content with
|
||||||
@command{eww-readable}, converts it to Org-mode content with Pandoc, and
|
@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
|
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.")
|
inserts it as an Org entry instead of displaying it in a new buffer.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
|
Reference in a new issue