* [bug#39798] [PATCH 02/13] gnu: ghc-doctemplates: Update to 0.8.1.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
@ 2020-02-26 11:45 ` Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 03/13] gnu: Add ghc-regex-base-0.94 Pierre Neidhardt
` (9 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:45 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-doctemplates): Update to 0.8.1.
---
gnu/packages/haskell-xyz.scm | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 03adfdb062..147254c6a9 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -3115,7 +3115,7 @@ Writer monad), where list append quickly becomes too expensive.")
(define-public ghc-doctemplates
(package
(name "ghc-doctemplates")
- (version "0.2.2.1")
+ (version "0.8.1")
(source
(origin
(method url-fetch)
@@ -3124,17 +3124,25 @@ Writer monad), where list append quickly becomes too expensive.")
version ".tar.gz"))
(sha256
(base32
- "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
+ "02xysm510m3hbifwb7ngx39wj1ycxjrws4ngnm0d7ywqm9cv1hbb"))))
(build-system haskell-build-system)
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-blaze-markup" ,ghc-blaze-markup)
("ghc-blaze-html" ,ghc-blaze-html)
+ ("ghc-doclayout" ,ghc-doclayout)
+ ("ghc-glob" ,ghc-glob)
+ ("ghc-hsyaml" ,ghc-hsyaml)
("ghc-vector" ,ghc-vector)
("ghc-unordered-containers" ,ghc-unordered-containers)
- ("ghc-scientific" ,ghc-scientific)))
+ ("ghc-safe" ,ghc-safe)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-text-conversions" ,ghc-text-conversions)))
(native-inputs
- `(("ghc-hspec" ,ghc-hspec)))
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-golden" ,ghc-tasty-golden)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
(home-page "https://github.com/jgm/doctemplates#readme")
(synopsis "Pandoc-style document templates")
(description
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 03/13] gnu: Add ghc-regex-base-0.94.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 02/13] gnu: ghc-doctemplates: Update to 0.8.1 Pierre Neidhardt
@ 2020-02-26 11:45 ` Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 05/13] gnu: ghc-skylighting-core: Update to 0.8.3.2 Pierre Neidhardt
` (8 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:45 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-regex-base-0.94): New variable.
---
gnu/packages/haskell-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 147254c6a9..d1e90b79d3 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9453,6 +9453,21 @@ regular expressions. Parsers can be built using Applicative interface.")
regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
(license license:bsd-3)))
+(define-public ghc-regex-base-0.94
+ (package
+ (inherit ghc-regex-base)
+ (version "0.94.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/regex-base/regex-base-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "055rlq67xnbqv43fgrlw6d7s8nhyavahrp6blihwjmqizksq47y4"))))))
+
(define-public ghc-regex-compat
(package
(name "ghc-regex-compat")
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 05/13] gnu: ghc-skylighting-core: Update to 0.8.3.2.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 02/13] gnu: ghc-doctemplates: Update to 0.8.1 Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 03/13] gnu: Add ghc-regex-base-0.94 Pierre Neidhardt
@ 2020-02-26 11:45 ` Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 06/13] gnu: ghc-skylighting: " Pierre Neidhardt
` (7 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:45 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-skylighting-core): Update to 0.8.3.2.
---
gnu/packages/haskell-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index aa915ddd98..875ea37ccc 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10539,7 +10539,7 @@ enumerations.")
(define-public ghc-skylighting-core
(package
(name "ghc-skylighting-core")
- (version "0.8.2.1")
+ (version "0.8.3.2")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
@@ -10547,7 +10547,7 @@ enumerations.")
version ".tar.gz"))
(sha256
(base32
- "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
+ "04l1qcfqkvi7c4hv5nra4nl2zk5r6l6jkj95wvq466anls8x35rj"))))
(build-system haskell-build-system)
(inputs
`(("ghc-aeson" ,ghc-aeson)
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 06/13] gnu: ghc-skylighting: Update to 0.8.3.2.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (2 preceding siblings ...)
2020-02-26 11:45 ` [bug#39798] [PATCH 05/13] gnu: ghc-skylighting-core: Update to 0.8.3.2 Pierre Neidhardt
@ 2020-02-26 11:45 ` Pierre Neidhardt
2020-02-26 11:45 ` [bug#39798] [PATCH 07/13] gnu: ghc-pandoc-types: Update to 1.20 Pierre Neidhardt
` (6 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:45 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-skylighting): Update to 0.8.3.2.
---
gnu/packages/haskell-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 875ea37ccc..b6c82322f2 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10583,14 +10583,14 @@ provided. Skylighting is intended to be the successor to highlighting-kate.")
(package
(inherit ghc-skylighting-core)
(name "ghc-skylighting")
- (version "0.8.2.1")
+ (version "0.8.3.2")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/skylighting-"
version "/skylighting-" version ".tar.gz"))
(sha256
(base32
- "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
+ "03kbvz66r4fp1zq09c6arnhi2s81iwsmv8lv2kz0g7a8dr0hpaq2"))))
(inputs
`(("ghc-skylighting-core" ,ghc-skylighting-core)
,@(package-inputs ghc-skylighting-core)))))
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 07/13] gnu: ghc-pandoc-types: Update to 1.20.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (3 preceding siblings ...)
2020-02-26 11:45 ` [bug#39798] [PATCH 06/13] gnu: ghc-skylighting: " Pierre Neidhardt
@ 2020-02-26 11:45 ` Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 08/13] gnu: ghc-texmath: Update to 0.12.0.1 Pierre Neidhardt
` (5 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:45 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-pandoc-types): Update to 1.20.
---
gnu/packages/haskell-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b6c82322f2..40c8b4293d 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8423,7 +8423,7 @@ suitable for inclusion in pandoc YAML metadata.")
(define-public ghc-pandoc-types
(package
(name "ghc-pandoc-types")
- (version "1.17.6.1")
+ (version "1.20")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
@@ -8431,7 +8431,7 @@ suitable for inclusion in pandoc YAML metadata.")
version ".tar.gz"))
(sha256
(base32
- "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
+ "0wz89ywyhvxz8daw4ia132kg6ynx5y4wva4g899wvq4kyjy1dixa"))))
(build-system haskell-build-system)
(inputs
`(("ghc-syb" ,ghc-syb)
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 08/13] gnu: ghc-texmath: Update to 0.12.0.1.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (4 preceding siblings ...)
2020-02-26 11:45 ` [bug#39798] [PATCH 07/13] gnu: ghc-pandoc-types: Update to 1.20 Pierre Neidhardt
@ 2020-02-26 11:46 ` Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 09/13] gnu: Add ghc-base-compat-0.11 Pierre Neidhardt
` (4 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:46 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-texmath): Update to 0.12.0.1.
---
gnu/packages/haskell-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 40c8b4293d..b0ea9192e3 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11563,14 +11563,14 @@ dependency.")
(define-public ghc-texmath
(package
(name "ghc-texmath")
- (version "0.11.3")
+ (version "0.12.0.1")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"texmath/texmath-" version ".tar.gz"))
(sha256
(base32
- "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
+ "1halp1vn2334ym3j3fxfbrpkr15nc201c7vfwmzimya6vnyknsxs"))))
(build-system haskell-build-system)
(inputs
`(("ghc-syb" ,ghc-syb)
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 09/13] gnu: Add ghc-base-compat-0.11.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (5 preceding siblings ...)
2020-02-26 11:46 ` [bug#39798] [PATCH 08/13] gnu: ghc-texmath: Update to 0.12.0.1 Pierre Neidhardt
@ 2020-02-26 11:46 ` Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 10/13] gnu: Add ghc-optparse-applicative-0.15 Pierre Neidhardt
` (3 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:46 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-base-compat-0.11): New variable.
---
gnu/packages/haskell-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b0ea9192e3..9e85f89248 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -767,6 +767,21 @@ of base to a wider range of compilers, without requiring the use of CPP
pragmas in your code.")
(license license:bsd-3)))
+(define-public ghc-base-compat-0.11
+ (package
+ (inherit ghc-base-compat)
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/base-compat/base-compat-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0dkdmyxg8hfjn1zyrp4mahkr90g4y672mlvkj0m1krwkxi11avrm"))))))
+
(define-public ghc-base-compat-batteries
(package
(name "ghc-base-compat-batteries")
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 10/13] gnu: Add ghc-optparse-applicative-0.15.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (6 preceding siblings ...)
2020-02-26 11:46 ` [bug#39798] [PATCH 09/13] gnu: Add ghc-base-compat-0.11 Pierre Neidhardt
@ 2020-02-26 11:46 ` Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 11/13] gnu: ghc-haddock-library: Update to 1.8.0 Pierre Neidhardt
` (2 subsequent siblings)
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:46 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-optparse-applicative-0.15): New variable.
---
gnu/packages/haskell-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 9e85f89248..0d766ebe75 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8191,6 +8191,21 @@ easily work with command-line options.")
command line options in Haskell.")
(license license:bsd-3)))
+(define-public ghc-optparse-applicative-0.15
+ (package
+ (inherit ghc-optparse-applicative)
+ (version "0.15.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/optparse-applicative"
+ "/optparse-applicative-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ws6y3b3f6hsgv0ff0yp6lw4hba1rps4dnvry3yllng0s5gngcsd"))))
+ (arguments '())))
+
(define-public ghc-jira-wiki-markup
(package
(name "ghc-jira-wiki-markup")
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 11/13] gnu: ghc-haddock-library: Update to 1.8.0.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (7 preceding siblings ...)
2020-02-26 11:46 ` [bug#39798] [PATCH 10/13] gnu: Add ghc-optparse-applicative-0.15 Pierre Neidhardt
@ 2020-02-26 11:46 ` Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 12/13] gnu: ghc-pandoc: Update to 2.9.2 Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 13/13] gnu: ghc-pandoc: Rename to pandoc Pierre Neidhardt
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:46 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-haddock-library): Update to 1.8.0.
---
gnu/packages/haskell-xyz.scm | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0d766ebe75..b80e19deef 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -4841,7 +4841,7 @@ documentation-generation tool for Haskell libraries.")
(define-public ghc-haddock-library
(package
(name "ghc-haddock-library")
- (version "1.7.0")
+ (version "1.8.0")
(source
(origin
(method url-fetch)
@@ -4851,23 +4851,12 @@ documentation-generation tool for Haskell libraries.")
".tar.gz"))
(sha256
(base32
- "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
+ "15xpv29yh3kb9qq9gmws2l8m64i7phvf47y08vxc2j55101sg4vh"))))
(build-system haskell-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; Since there is no revised Cabal file upstream, we have to
- ;; patch it manually.
- (add-before 'configure 'relax-test-suite-dependencies
- (lambda _
- (substitute* "haddock-library.cabal"
- (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
- (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
- #t)))))
(native-inputs
- `(("ghc-base-compat" ,ghc-base-compat)
+ `(("ghc-base-compat" ,ghc-base-compat-0.11)
("ghc-hspec" ,ghc-hspec)
- ("ghc-optparse-applicative" ,ghc-optparse-applicative)
+ ("ghc-optparse-applicative" ,ghc-optparse-applicative-0.15)
("ghc-quickcheck" ,ghc-quickcheck)
("ghc-tree-diff" ,ghc-tree-diff)
("hspec-discover" ,hspec-discover)))
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 12/13] gnu: ghc-pandoc: Update to 2.9.2.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (8 preceding siblings ...)
2020-02-26 11:46 ` [bug#39798] [PATCH 11/13] gnu: ghc-haddock-library: Update to 1.8.0 Pierre Neidhardt
@ 2020-02-26 11:46 ` Pierre Neidhardt
2020-02-26 11:46 ` [bug#39798] [PATCH 13/13] gnu: ghc-pandoc: Rename to pandoc Pierre Neidhardt
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:46 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-pandoc): Update to 2.9.2.
* gnu/local.mk: Remove obsolete ghc-pandoc patches.
* gnu/packages/patches/ghc-pandoc-fix-html-tests.patch: Remove file.
* gnu/packages/patches/ghc-pandoc-fix-latex-test.patch: Remove file.
---
gnu/local.mk | 2 -
gnu/packages/haskell-xyz.scm | 9 +-
.../patches/ghc-pandoc-fix-html-tests.patch | 92 -------------------
.../patches/ghc-pandoc-fix-latex-test.patch | 31 -------
4 files changed, 5 insertions(+), 129 deletions(-)
delete mode 100644 gnu/packages/patches/ghc-pandoc-fix-html-tests.patch
delete mode 100644 gnu/packages/patches/ghc-pandoc-fix-latex-test.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 857345cfad..edf1d18537 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -917,8 +917,6 @@ dist_patch_DATA = \
%D%/packages/patches/ghc-hpack-fix-tests.patch \
%D%/packages/patches/ghc-microlens-aeson-fix-tests.patch \
%D%/packages/patches/ghc-monad-par-fix-tests.patch \
- %D%/packages/patches/ghc-pandoc-fix-html-tests.patch \
- %D%/packages/patches/ghc-pandoc-fix-latex-test.patch \
%D%/packages/patches/ghostscript-no-header-id.patch \
%D%/packages/patches/ghostscript-no-header-uuid.patch \
%D%/packages/patches/ghostscript-no-header-creationdate.patch \
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b80e19deef..d5084d6aa0 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8306,17 +8306,15 @@ code. It was designed for use in @code{Pandoc}.")
(define-public ghc-pandoc
(package
(name "ghc-pandoc")
- (version "2.7.3")
+ (version "2.9.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
version ".tar.gz"))
- (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
- "ghc-pandoc-fix-latex-test.patch"))
(sha256
(base32
- "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
+ "1f9wbwzv6c3dlsn15iydh921icjqj7kjgrb726kqmj5gmaypc39j"))))
(build-system haskell-build-system)
(inputs
`(("ghc-aeson" ,ghc-aeson)
@@ -8327,7 +8325,9 @@ code. It was designed for use in @code{Pandoc}.")
("ghc-cmark-gfm" ,ghc-cmark-gfm)
("ghc-data-default" ,ghc-data-default)
("ghc-diff" ,ghc-diff)
+ ("ghc-doclayout" ,ghc-doclayout)
("ghc-doctemplates" ,ghc-doctemplates)
+ ("ghc-emojis" ,ghc-emojis)
("ghc-executable-path" ,ghc-executable-path)
("ghc-glob" ,ghc-glob)
("ghc-haddock-library" ,ghc-haddock-library)
@@ -8340,6 +8340,7 @@ code. It was designed for use in @code{Pandoc}.")
("ghc-http-client-tls" ,ghc-http-client-tls)
("ghc-http-types" ,ghc-http-types)
("ghc-ipynb" ,ghc-ipynb)
+ ("ghc-jira-wiki-markup" ,ghc-jira-wiki-markup)
("ghc-juicypixels" ,ghc-juicypixels)
("ghc-network" ,ghc-network)
("ghc-network-uri" ,ghc-network-uri)
diff --git a/gnu/packages/patches/ghc-pandoc-fix-html-tests.patch b/gnu/packages/patches/ghc-pandoc-fix-html-tests.patch
deleted file mode 100644
index b624ff9e9e..0000000000
--- a/gnu/packages/patches/ghc-pandoc-fix-html-tests.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-This patch is taken from upstream. It fixes two HTML tests that are broken
-due to using a Skylighting version greater than or equal to 0.8.2.
-
-From 968d2046a3cb6db661673be580660ac402753c34 Mon Sep 17 00:00:00 2001
-From: John MacFarlane <jgm@berkeley.edu>
-Date: Sun, 14 Jul 2019 10:48:14 -0700
-Subject: [PATCH] Update test for new skylighting.
-
----
- test/lhs-test.html | 13 ++++++-------
- test/lhs-test.html+lhs | 13 ++++++-------
- 2 files changed, 12 insertions(+), 14 deletions(-)
-
-diff --git a/test/lhs-test.html b/test/lhs-test.html
-index 6685555f4..446dd3d95 100644
---- a/test/lhs-test.html
-+++ b/test/lhs-test.html
-@@ -12,19 +12,18 @@
- div.column{display: inline-block; vertical-align: top; width: 50%;}
- </style>
- <style>
--code.sourceCode > span { display: inline-block; line-height: 1.25; }
-+pre > code.sourceCode { white-space: pre; position: relative; }
-+pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
-+pre > code.sourceCode > span:empty { height: 1.2em; }
- code.sourceCode > span { color: inherit; text-decoration: inherit; }
--code.sourceCode > span:empty { height: 1.2em; }
--.sourceCode { overflow: visible; }
--code.sourceCode { white-space: pre; position: relative; }
- div.sourceCode { margin: 1em 0; }
- pre.sourceCode { margin: 0; }
- @media screen {
- div.sourceCode { overflow: auto; }
- }
- @media print {
--code.sourceCode { white-space: pre-wrap; }
--code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
-+pre > code.sourceCode { white-space: pre-wrap; }
-+pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
- }
- pre.numberSource code
- { counter-reset: source-line 0; }
-@@ -44,7 +43,7 @@ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-le
- div.sourceCode
- { }
- @media screen {
--code.sourceCode > span > a:first-child::before { text-decoration: underline; }
-+pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
- }
- code span.al { color: #ff0000; font-weight: bold; } /* Alert */
- code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
-diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs
-index e57dfc105..a5cdb0245 100644
---- a/test/lhs-test.html+lhs
-+++ b/test/lhs-test.html+lhs
-@@ -12,19 +12,18 @@
- div.column{display: inline-block; vertical-align: top; width: 50%;}
- </style>
- <style>
--code.sourceCode > span { display: inline-block; line-height: 1.25; }
-+pre > code.sourceCode { white-space: pre; position: relative; }
-+pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
-+pre > code.sourceCode > span:empty { height: 1.2em; }
- code.sourceCode > span { color: inherit; text-decoration: inherit; }
--code.sourceCode > span:empty { height: 1.2em; }
--.sourceCode { overflow: visible; }
--code.sourceCode { white-space: pre; position: relative; }
- div.sourceCode { margin: 1em 0; }
- pre.sourceCode { margin: 0; }
- @media screen {
- div.sourceCode { overflow: auto; }
- }
- @media print {
--code.sourceCode { white-space: pre-wrap; }
--code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
-+pre > code.sourceCode { white-space: pre-wrap; }
-+pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
- }
- pre.numberSource code
- { counter-reset: source-line 0; }
-@@ -44,7 +43,7 @@ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-le
- div.sourceCode
- { }
- @media screen {
--code.sourceCode > span > a:first-child::before { text-decoration: underline; }
-+pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
- }
- code span.al { color: #ff0000; font-weight: bold; } /* Alert */
- code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
---
-2.23.0
-
diff --git a/gnu/packages/patches/ghc-pandoc-fix-latex-test.patch b/gnu/packages/patches/ghc-pandoc-fix-latex-test.patch
deleted file mode 100644
index b38476882d..0000000000
--- a/gnu/packages/patches/ghc-pandoc-fix-latex-test.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-This patch is taken from upstream. It fixes a LaTeX test that is broken due
-to using a Skylighting version greater than or equal to 0.8.1.1.
-
-From 2cd1c7b30f200d18f1f1bdef1671369e1ad303ed Mon Sep 17 00:00:00 2001
-From: John MacFarlane <jgm@berkeley.edu>
-Date: Thu, 13 Jun 2019 19:33:52 -0700
-Subject: [PATCH] Update test for skylighting 0.8.1.1.
-
----
- test/lhs-test.latex | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/test/lhs-test.latex b/test/lhs-test.latex
-index 0442db5ca..a456995a3 100644
---- a/test/lhs-test.latex
-+++ b/test/lhs-test.latex
-@@ -94,9 +94,9 @@ return a single value:
-
- \begin{Shaded}
- \begin{Highlighting}[]
--\OtherTok{unsplit ::}\NormalTok{ (}\DataTypeTok{Arrow}\NormalTok{ a) }\OtherTok{=>}\NormalTok{ (b }\OtherTok{->}\NormalTok{ c }\OtherTok{->}\NormalTok{ d) }\OtherTok{->}\NormalTok{ a (b, c) d}
-+\OtherTok{unsplit ::}\NormalTok{ (}\DataTypeTok{Arrow}\NormalTok{ a) }\OtherTok{=>}\NormalTok{ (b }\OtherTok{{-}>}\NormalTok{ c }\OtherTok{{-}>}\NormalTok{ d) }\OtherTok{{-}>}\NormalTok{ a (b, c) d}
- \NormalTok{unsplit }\OtherTok{=}\NormalTok{ arr }\OperatorTok{.} \FunctionTok{uncurry}
-- \CommentTok{-- arr (\textbackslash{}op (x,y) -> x `op` y)}
-+ \CommentTok{{-}{-} arr (\textbackslash{}op (x,y) {-}> x \textasciigrave{}op\textasciigrave{} y)}
- \end{Highlighting}
- \end{Shaded}
-
---
-2.23.0
-
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [bug#39798] [PATCH 13/13] gnu: ghc-pandoc: Rename to pandoc.
2020-02-26 11:45 ` [bug#39798] [PATCH 01/13] gnu: ghc-hsyaml: Update to 0.2.1.0 Pierre Neidhardt
` (9 preceding siblings ...)
2020-02-26 11:46 ` [bug#39798] [PATCH 12/13] gnu: ghc-pandoc: Update to 2.9.2 Pierre Neidhardt
@ 2020-02-26 11:46 ` Pierre Neidhardt
10 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2020-02-26 11:46 UTC (permalink / raw)
To: 39798
* gnu/packages/haskell-xyz.scm (ghc-pandoc): Deprecate.
(pandoc): New variable.
---
gnu/packages/haskell-xyz.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index d5084d6aa0..a7ba7c5fb2 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8303,9 +8303,9 @@ with several features not present in pretty-printing libraries designed for
code. It was designed for use in @code{Pandoc}.")
(license license:bsd-3)))
-(define-public ghc-pandoc
+(define-public pandoc
(package
- (name "ghc-pandoc")
+ (name "pandoc")
(version "2.9.2")
(source
(origin
@@ -8381,6 +8381,9 @@ definition lists, tables, and other features. A compatibility mode is
provided for those who need a drop-in replacement for Markdown.pl.")
(license license:gpl2+)))
+(define-public ghc-pandoc
+ (deprecated-package "ghc-pandoc" pandoc))
+
(define-public ghc-pandoc-citeproc
(package
(name "ghc-pandoc-citeproc")
--
2.25.0
^ permalink raw reply related [flat|nested] 23+ messages in thread