From 0a1dc5a358adaecfe3cf60a4e913affa38b1115f Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:08:10 -0800 Subject: [PATCH 20/31] gnu: Add ghc-regex-applicative-text. * gnu/packages/haskell-xyz.scm (ghc-regex-applicative-text): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index b00fcf3173..b687b384d1 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -11339,6 +11339,33 @@ copious examples.") regular expressions. Parsers can be built using Applicative interface.") (license license:expat))) +(define-public ghc-regex-applicative-text + (package + (name "ghc-regex-applicative-text") + (version "0.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-applicative-text" + "/regex-applicative-text-" version ".tar.gz")) + (sha256 + (base32 + "1ng2qhk4mvpzl8fx91ig7ldv09v9aqdsvn6yl9yjapc6h0ghb4xh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-applicative" ,ghc-regex-applicative))) + (arguments + `(#:cabal-revision + ("4" + "0ykzppl1v6k70idjl73m4w161f6lsax89v1gp100y4xgipf3yijj"))) + (home-page + "https://github.com/phadej/regex-applicative-text#readme") + (synopsis "Regex-applicative on text") + (description + "Wrapped regex-applicative primitives to work with Text.") + (license license:bsd-3))) + (define-public ghc-regex-base (package (name "ghc-regex-base") -- 2.29.2