Subject: [PATCH 44/49] gnu: Add ghc-configurator-pg.

From: Robert Vollmert <[email-masked]>
Date: Fri, 29 Nov 2019 12:37:46 +0100

* gnu/packages/haskell-xyz.scm (ghc-configurator-pg): New variable.
---
 gnu/packages/haskell-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b8fc8a8960..ac3fecc382 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -14264,3 +14264,39 @@ All error-reporting is explicit and is presented using the Either type.")
      "A composable abstraction over retryable transactions for Hasql")
     (description "A composable abstraction over retryable transactions for Hasql")
     (license license:expat)))
+
+(define-public ghc-configurator-pg
+  (package
+    (name "ghc-configurator-pg")
+    (version "0.1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/configurator-pg/configurator-pg-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0fc77ihnablff8v0kgr88pcc3rn41ca14bvfxr21jx807fn8g63p"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-attoparsec" ,ghc-attoparsec)
+       ("ghc-protolude" ,ghc-protolude)
+       ("ghc-scientific" ,ghc-scientific)))
+    (native-inputs
+     `(("ghc-hunit" ,ghc-hunit)
+       ("ghc-test-framework" ,ghc-test-framework)
+       ("ghc-test-framework-hunit"
+        ,ghc-test-framework-hunit)))
+    (home-page
+     "https://github.com/robx/configurator-pg")
+    (synopsis
+     "Reduced parser for configurator-ng config files")
+    (description
+     "This module provides a simplified and updated interface to the configuration file format
+of <https://hackage.haskell.org/package/configurator configurator> and
+<https://hackage.haskell.org/package/configurator-ng configurator-ng>.
+Its aim is primarily to allow updating programs that depend on configurator-ng to new versions
+of GHC without changing the configuration file format.")
+    (license license:bsd-3)))
-- 
2.21.0 (Apple Git-122.2)