gnu: Add ghc-glob.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
rsiddharth 2017-06-15 01:23:51 +00:00 committed by Ludovic Courtès
parent aba85f8c38
commit 4031fb60ce
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -8460,4 +8460,34 @@ (define-public ghc-psqueues
@end itemize")
(license license:bsd-3)))
(define-public ghc-glob
(package
(name "ghc-glob")
(version "0.7.14")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"Glob-" version "/"
"Glob-" version ".tar.gz"))
(sha256
(base32
"0aw43izg8vlvjl40ms6k92w7gxg7n3l6smdvzla47fp82s4vhdr8"))))
(build-system haskell-build-system)
(inputs
`(("ghc-dlist" ,ghc-dlist)
("ghc-semigroups" ,ghc-semigroups)
("ghc-transformers-compat" ,ghc-transformers-compat)))
(native-inputs
`(("ghc-hunit" ,ghc-hunit)
("ghc-quickcheck" ,ghc-quickcheck)
("ghc-test-framework" ,ghc-test-framework)
("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
(home-page "http://iki.fi/matti.niemenmaa/glob/")
(synopsis "Haskell library matching glob patterns against file paths")
(description "This package providesa Haskell library for globbing:
matching patterns against file paths.")
(license license:bsd-3)))
;;; haskell.scm ends here