gnu: Add ghc-regex-tdfa.

* gnu/packages/haskell.scm (ghc-regex-tdfa): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
ng0 2016-09-18 16:09:48 +00:00 committed by Leo Famulari
parent d58dc851f9
commit 7e444dba6e
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 26 additions and 0 deletions

View File

@ -6589,4 +6589,30 @@ programs.")
regular expressions. Parsers can be built using Applicative interface.")
(license license:expat)))
(define-public ghc-regex-tdfa
(package
(name "ghc-regex-tdfa")
(version "1.2.2")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
version ".tar.gz"))
(sha256
(base32
"0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
(build-system haskell-build-system)
(inputs
`(("ghc-mtl" ,ghc-mtl)
("ghc-parsec" ,ghc-parsec)
("ghc-regex-base" ,ghc-regex-base)))
(home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
(synopsis "POSIX extended regular expressions in Haskell.")
(description
"Regex-tdfa is a pure Haskell regular expression library implementing POSIX
extended regular expressions. It is a \"tagged\" DFA regex engine. It is
inspired by libtre.")
(license license:bsd-3)))
;;; haskell.scm ends here