From: Eric Bavier <ericbav...@openmailbox.org> > * gnu/packages/haskell.scm (ghc-regex-tdfa-rc): New variable. > --- > gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index be37c5a..810dfb1 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -1132,6 +1132,34 @@ Both IPv4 and IPv6 are supported.") > "Interface API for regex-posix, pcre, parsec, tdfa, dfa.") > (license bsd-3))) > > +(define-public ghc-regex-tdfa-rc > + (package > + (name "ghc-regex-tdfa-rc") > + (version "1.1.8.3") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + > "http://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3")))) > + (build-system haskell-build-system) > + (propagated-inputs > + `(("ghc-regex-base" ,ghc-regex-base) > + ("ghc-parsec" ,ghc-parsec))) > + (inputs > + `(("ghc-mtl" ,ghc-mtl)))
I would be surprised if this did not also need to be propagated, but I confess I do not know of a reliable way to check. > + (home-page > + "http://hackage.haskell.org/package/regex-tdfa") > + (synopsis "Replaces/Enhances Text.Regex") How about: "Tagged DFA regex engine for Haskell" `~Eric