Subject: bug#46645: closed ()

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 24 Feb 2021 14:28:02 +0000

Your bug report

#46643: [PATCH 2/3] gnu: Add ghc-wordexp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46643: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46643
GNU Bug Tracking System
Contact [email-masked] with problems

From: Léo Le Bouter <[email-masked]>
To: [email-masked]
Date: Wed, 24 Feb 2021 15:27:43 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed all patches in a1386815503036773a1092554f36d45dd9361efe.

It seems the licenses for ghc-wordexp and greenclip is BSD-3-Clause
from <https://hackage.haskell.org/package/wordexp> and <
https://hackage.haskell.org/package/greenclip>.

Also, your upgrade of ghc-protolude broke the purescript build which
depends on ghc-protolude<0.2.4 so I created a secondary ghc-protolude-
0.2 package that purescript now depends on.

Think about running "$ guix refresh -l <package>" if you modify any
package to check for all its dependents and then try to build all the
dependents see if they don't break and if they do break please fix
them. That's what I did here.

I also fixed lint errors on ghc-wordexp. Think about running "$ guix
lint <package>" on any package you are adding or altering before
submitting.

Thank you!

Subject: [PATCH 2/3] gnu: Add ghc-wordexp.
From: Stefan Reichör <[email-masked]>
To: [email-masked]
Cc: Stefan Reichör <[email-masked]>
Date: Fri, 19 Feb 2021 21:04:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/haskell-xyz.scm (ghc-wordexp): New variable.
---

I am not sure what license should be used for this package.

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f1709e342a..a48a100441 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -15169,6 +15169,30 @@ modernized interface.")
     (description "Word8 library to be used with @code{Data.ByteString}.")
     (license license:bsd-3)))
 
+(define-public ghc-wordexp
+  (package
+    (name "ghc-wordexp")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/wordexp/wordexp-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1mbcrq89jz0dcibw66w0jdy4f4bfpx4zwjfs98rm3jjgdikwdzb4"))))
+    (build-system haskell-build-system)
+    (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
+    (inputs
+     `(("ghc-semigroups" ,ghc-semigroups)))
+    (home-page "https://hackage.haskell.org/package/wordexp")
+    (synopsis "wordexp wrapper library for Haskell")
+    (description "wordexp(3) wrapper library for Haskell to perform word
+expansion like a posix-shell.")
+    (license license:expat)))
+
 (define-public ghc-x11
   (package
     (name "ghc-x11")
-- 
2.25.1