gnu: Add ghc-modern-uri.

* gnu/packages/haskell-web.scm (ghc-modern-uri): New variable.

Change-Id: I62d4c2722303cbeb9a7ef1acd3f12f355cf67509
This commit is contained in:
Romain GARBAGE 2024-07-22 13:28:07 +02:00 committed by Ricardo Wurmus
parent a78c0059aa
commit 35bc1a5991
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -923,6 +923,36 @@ (define-public ghc-mime-types
"This library provides basic MIME type handling types and functions.") "This library provides basic MIME type handling types and functions.")
(license license:expat))) (license license:expat)))
(define-public ghc-modern-uri
(package
(name "ghc-modern-uri")
(version "0.3.6.1")
(source
(origin
(method url-fetch)
(uri (hackage-uri "modern-uri" version))
(sha256
(base32 "1sag8l91qd7xs56rlx8r6dz9zxxmqsnfw0v47az7l8nirv7zjih2"))))
(build-system haskell-build-system)
(properties '((upstream-name . "modern-uri")))
(inputs (list ghc-quickcheck
ghc-hashable
ghc-megaparsec
ghc-profunctors
ghc-reflection
ghc-tagged))
(native-inputs (list ghc-hspec
ghc-hspec-megaparsec
ghc-hspec-discover))
(arguments
`(#:cabal-revision ("1"
"0c0mr8aqs963nmy7i8yfih24snaijgwkxim2q2khw12capshac0q")))
(home-page "https://github.com/mrkkrp/modern-uri")
(synopsis "Library for working with URIs")
(description "This is a library for working with URIs in Haskell as
per RFC 3986.")
(license license:bsd-3)))
(define-public ghc-html (define-public ghc-html
(package (package
(name "ghc-html") (name "ghc-html")