mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 08:36:32 +01:00
gnu: pandoc: Drop Haskell libraries and documentation.
* gnu/packages/haskell-xyz.scm (ghc-pandoc): Renamed from pandoc. (pandoc) [arguments]: Add 'remove-libraries phase and disable #:haddock?.
This commit is contained in:
parent
a38901c01e
commit
7996bd3955
1 changed files with 15 additions and 4 deletions
|
@ -8189,9 +8189,9 @@ (define-public ghc-doclayout
|
||||||
code. It was designed for use in @code{Pandoc}.")
|
code. It was designed for use in @code{Pandoc}.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public pandoc
|
(define-public ghc-pandoc
|
||||||
(package
|
(package
|
||||||
(name "pandoc")
|
(name "ghc-pandoc")
|
||||||
(version "2.19.2")
|
(version "2.19.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -8289,8 +8289,19 @@ (define-public pandoc
|
||||||
provided for those who need a drop-in replacement for Markdown.pl.")
|
provided for those who need a drop-in replacement for Markdown.pl.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public ghc-pandoc
|
(define-public pandoc
|
||||||
(deprecated-package "ghc-pandoc" pandoc))
|
(package
|
||||||
|
(inherit ghc-pandoc)
|
||||||
|
(name "pandoc")
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'register 'remove-libraries
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))))
|
||||||
|
;; Haddock documentation is for the library.
|
||||||
|
#:haddock? #f))))
|
||||||
|
|
||||||
(define-public ghc-pandoc-types
|
(define-public ghc-pandoc-types
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue