aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Sample <samplet@ngyro.com>2019-11-02 14:53:02 -0400
committerTimothy Sample <samplet@ngyro.com>2019-11-20 20:48:38 -0500
commite34df1c385b8cb593462b682e5d4a38f89538a64 (patch)
tree0c80bf76a46b1e160a08e041823d75611b443cb3
parent06344a3a39b773972a8e8e8d2acf8d1722618e9c (diff)
downloadpatches-e34df1c385b8cb593462b682e5d4a38f89538a64.tar
patches-e34df1c385b8cb593462b682e5d4a38f89538a64.tar.gz
gnu: Add ghc-lib-parser.
* gnu/packages/haskell-xyz.scm (ghc-lib-parser): New variable.
-rw-r--r--gnu/packages/haskell-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 14d9d6924b..f7c3d04399 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5812,6 +5812,29 @@ to be called from Haskell.")
Music Player Daemon.")
(license license:expat)))
+(define-public ghc-lib-parser
+ (package
+ (name "ghc-lib-parser")
+ (version "8.8.0.20190424")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("ghc-alex" ,ghc-alex)
+ ("ghc-happy" ,ghc-happy)))
+ (home-page "https://github.com/digital-asset/ghc-lib")
+ (synopsis "The GHC API, decoupled from GHC versions")
+ (description "This library implements the GHC API. It is like the
+compiler-provided @code{ghc} package, but it can be loaded on many
+compiler versions.")
+ (license license:bsd-3)))
+
(define-public ghc-libxml
(package
(name "ghc-libxml")