Open the imported Cabal file ↗
- bug-reports
- https://github.com/haskell/network-uri/issues
- build-type
- Simple
- cabal-version
- >=1.10
- category
- Network
- extra-source-files
- README.md, CHANGELOG.md
- homepage
- https://github.com/haskell/network-uri
- license
- BSD3
- license-file
- LICENSE
- maintainer
- ezra@ezrakilty.net
- name
- network-uri
- synopsis
- URI manipulation
- tested-with
- GHC ==9.8.1 || ==9.6.3 || ==9.4.7 || ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2 || ==7.2.2 || ==7.0.4
- version
- 2.6.4.2
- x-revision
- 1
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "network-uri",
"version": "2.6.4.2",
"cabalVersion": "1.10",
"buildType": "Simple",
"fields": {
"bug-reports": [
"https://github.com/haskell/network-uri/issues"
],
"build-type": [
"Simple"
],
"cabal-version": [
">=1.10"
],
"category": [
"Network"
],
"description": [
"This package provides facilities for parsing and unparsing URIs, and creating\nand resolving relative URI references, closely following the URI spec,\n<http://www.ietf.org/rfc/rfc3986.txt IETF RFC 3986>.\n.\n== Backward-compatibility\n.\nIn @network-2.6@ the \"Network.URI\" module was split off from the\n@network@ package into this package. If you're using the \"Network.URI\"\nmodule you can be backward compatible and automatically get it from\nthe right package by using the\n</package/network-uri-flag network-uri-flag pseudo-package>\nin your @.cabal@ file's build-depends (along with dependencies for\nboth @network-uri@ and @network@):\n.\n> build-depends:\n> network-uri-flag == 0.1.*\n.\nOr you can do the same manually by adding this boilerplate to your\n@.cabal@ file:\n.\n> flag network-uri\n> description: Get Network.URI from the network-uri package\n> default: True\n>\n> library\n> -- ...\n> if flag(network-uri)\n> build-depends: network-uri >= 2.6, network >= 2.6\n> else\n> build-depends: network-uri < 2.6, network < 2.6\n.\nThat is, get the module from either @network < 2.6@ or from\n@network-uri >= 2.6@."
],
"extra-source-files": [
"README.md, CHANGELOG.md"
],
"homepage": [
"https://github.com/haskell/network-uri"
],
"license": [
"BSD3"
],
"license-file": [
"LICENSE"
],
"maintainer": [
"ezra@ezrakilty.net"
],
"name": [
"network-uri"
],
"synopsis": [
"URI manipulation"
],
"tested-with": [
"GHC ==9.8.1\n|| ==9.6.3\n|| ==9.4.7\n|| ==9.2.8\n|| ==9.0.2\n|| ==8.10.7\n|| ==8.8.4\n|| ==8.6.5\n|| ==8.4.4\n|| ==8.2.2\n|| ==8.0.2\n|| ==7.10.3\n|| ==7.8.4\n|| ==7.6.3\n|| ==7.4.2\n|| ==7.2.2\n|| ==7.0.4"
],
"version": [
"2.6.4.2"
],
"x-revision": [
"1"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"Network.URI",
"Network.URI.Lens",
"Network.URI.Static"
],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": ">=3 && <5",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": ">=1.1 && <1.6",
"libraries": [
"main"
]
},
{
"package": "parsec",
"range": ">=3.1.12.0 && <3.2",
"libraries": [
"main"
]
},
{
"package": "th-compat",
"range": ">=0.1.1 && <1.0",
"libraries": [
"main"
]
},
{
"package": "template-haskell",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"compiler": "ghc",
"range": "<7.6"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "ghc-prim",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"compiler": "ghc",
"range": ">=7.2"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"compiler": "ghc",
"range": ">=9.0"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
}
]
}
},
{
"kind": "test-suite",
"name": "uri",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": "<5",
"libraries": [
"main"
]
},
{
"package": "HUnit",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "network-uri",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "tasty",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "tasty-hunit",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "tasty-quickcheck",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "QuickCheck",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": []
}
},
{
"kind": "benchmark",
"name": "uri-bench",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": "<5",
"libraries": [
"main"
]
},
{
"package": "HUnit",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "network-uri",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "criterion",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": []
}
}
],
"setupDependencies": [],
"flags": [],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"git://github.com/haskell/network-uri.git"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/network-uri-2.6.4.2/network-uri.cabal",
"sha256": "6fffb57373962b5651a2db8b0af732098b3bf029a7ced76a9855615de2026588",
"importedAt": "2026-10-14T12:47:05.007Z",
"dependencies": [
{
"package": "base",
"range": ">=3 && <5",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "deepseq",
"range": ">=1.1 && <1.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "parsec",
"range": ">=3.1.12.0 && <3.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "th-compat",
"range": ">=0.1.1 && <1.0",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "template-haskell",
"range": "-any",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "ghc-prim",
"range": "-any",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"compiler": "ghc",
"range": "<7.6"
}
]
},
{
"package": "base",
"range": "<5",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "HUnit",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "network-uri",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "tasty",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "tasty-hunit",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "tasty-quickcheck",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "QuickCheck",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:uri",
"conditions": []
},
{
"package": "base",
"range": "<5",
"libraries": [
"main"
],
"component": "benchmark:uri-bench",
"conditions": []
},
{
"package": "HUnit",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:uri-bench",
"conditions": []
},
{
"package": "network-uri",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:uri-bench",
"conditions": []
},
{
"package": "criterion",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:uri-bench",
"conditions": []
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:uri-bench",
"conditions": []
}
],
"exposedModules": [
"Network.URI",
"Network.URI.Lens",
"Network.URI.Static"
],
"documents": {
"readme": {
"status": "available",
"sha256": "c23093c61feea3c8d00872c400938cae659c5d883c97525c9503410de5242a2c",
"error": null,
"checkedAt": "2026-10-14T12:47:05.732Z"
},
"changelog": {
"status": "available",
"sha256": "53145c3a311b30453a182db37fab0fdd22b6138c146f331a93b4baed73d1c78a",
"error": null,
"checkedAt": "2026-10-14T12:47:05.896Z"
}
},
"documentation": null,
"versions": [
{
"version": "2.6.4.2",
"imported_at": "2026-10-14T12:47:05.007Z"
}
]
}