me
/
guix
Archived
1
0
Fork 0

gnu: ruby-pandoc-ruby: Use pandoc instead of ghc-pandoc.

* gnu/packages/ruby.scm (ruby-pandoc-ruby)[native-inputs]: Replace ghc-pandoc
with pandoc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
zimoun 2020-09-11 12:43:40 +02:00 committed by Ludovic Courtès
parent 2932591b8a
commit 8cc8e584ab
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -1115,7 +1115,7 @@ line of code.")
#t)) #t))
(add-after 'unpack 'patch-pandoc-path (add-after 'unpack 'patch-pandoc-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((pandoc (string-append (assoc-ref inputs "ghc-pandoc") (let ((pandoc (string-append (assoc-ref inputs "pandoc")
"/bin/pandoc"))) "/bin/pandoc")))
(substitute* "lib/pandoc-ruby.rb" (substitute* "lib/pandoc-ruby.rb"
(("@@pandoc_path = 'pandoc'") (("@@pandoc_path = 'pandoc'")
@ -1135,7 +1135,7 @@ line of code.")
(native-inputs (native-inputs
`(("ruby-mocha" ,ruby-mocha))) `(("ruby-mocha" ,ruby-mocha)))
(inputs (inputs
`(("ghc-pandoc" ,ghc-pandoc))) `(("pandoc" ,pandoc)))
(synopsis "Ruby wrapper for Pandoc") (synopsis "Ruby wrapper for Pandoc")
(description "PandocRuby is a wrapper for Pandoc, a Haskell library with (description "PandocRuby is a wrapper for Pandoc, a Haskell library with
command line tools for converting one markup format to another. Pandoc can command line tools for converting one markup format to another. Pandoc can