@@ -16429,3 +16429,24 @@ GHC event manager timeouts when available (GHC 7.2+, -threaded, non-Windows OS),
yielding performance similar to threadDelay and registerDelay. Otherwise,
it falls back to forked threads and threadDelay.")
(license license:bsd-3)))
+
+(define-public ghc-hostandport
+ (package
+ (name "ghc-hostandport")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "HostAndPort" version))
+ (sha256
+ (base32 "1rjv6c7j6fdy6gnn1zr5jnfmiqiamsmjfw9h3bx119giw3sjb9hm"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ (list ghc-hspec ghc-doctest))
+ (home-page "https://github.com/bacher09/hostandport")
+ (synopsis "Parser for host and port pairs like localhost:22")
+ (description
+ "HostAndPort is a simple parser for parsing host and port pairs.
+Host can be either ipv4, ipv6 or domain name and port are optional.
+IPv6 address should be surrounded by square brackets.")
+ (license license:expat)))