gnu: Add ghc-prettyprinter-1.6.
authorJohn Soo <jsoo1@asu.edu>
Sat, 11 Apr 2020 04:21:06 +0000 (21:21 -0700)
committerLeo Famulari <leo@famulari.name>
Fri, 29 May 2020 14:44:33 +0000 (10:44 -0400)
* gnu/packages/haskell-xyz.scm (ghc-prettyprinter-1.6): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
gnu/packages/haskell-xyz.scm

index 30a09bd..6ec349e 100644 (file)
@@ -9516,6 +9516,23 @@ ANSI terminal backend exists, HTML backend is trivial to implement, no name
 clashes, @code{Text}-based, extensible.")
     (license license:bsd-2)))
 
+(define-public ghc-prettyprinter-1.6
+  (package
+    (inherit ghc-prettyprinter)
+    (version "1.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://hackage/package/prettyprinter/prettyprinter-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz"))))
+    (inputs
+     `(("ghc-quickckeck-instances" , ghc-quickcheck-instances)
+       ,@(package-inputs ghc-prettyprinter)))))
+
 (define-public ghc-pretty-hex
   (package
     (name "ghc-pretty-hex")