Subject: [PATCH 05/13] gnu: Add ghc-optparse-simple

From: Thomas Albers <[email-masked]>
Date: Mon, 18 Apr 2022 20:09:49 +0200

---
 gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 314209f573..b9b2824dc4 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16204,3 +16204,25 @@ (define-public ghc-githash
      "Template Haskell splices for including the current git hash and branch
 in the code of a project.")
     (license license:bsd-3)))
+
+(define-public ghc-optparse-simple
+  (package
+    (name "ghc-optparse-simple")
+    (version "0.1.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/optparse-simple/optparse-simple-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "0y3qgab8csiwyv60cnpzpv65n3c0ikvdx5b5mfkfahkv8xfdh08x"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-githash ghc-optparse-applicative ghc-th-compat))
+    (home-page "https://github.com/fpco/optparse-simple")
+    (synopsis "Simple interface to @code{ghc-optparse-applicative}")
+    (description
+     "Simple helper functions to work with @code{ghc-optparse-applicative}.")
+    (license license:bsd-3)))
-- 
2.35.1