From 212e473e806854c7d1d864a04d5c79158a65bcb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= Date: Fri, 19 Feb 2021 21:04:26 +0100 Subject: [PATCH] gnu: Add ghc-wordexp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/haskell-xyz.scm (ghc-wordexp): New variable. Signed-off-by: Léo Le Bouter --- 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 3c3c642d8e..bd3d8f239c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15185,6 +15185,30 @@ (define-public ghc-word8 (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 "Library wrapping @code{wordexp} for Haskell") + (description "@code{wordexp(3)} wrapper library for Haskell to perform +word expansion like a posix-shell.") + (license license:bsd-3))) + (define-public ghc-x11 (package (name "ghc-x11")