Open the imported Cabal file ↗
- author
- Julian Ospald <hasufell@posteo.de>
- bug-reports
- https://github.com/haskell/os-string/issues
- build-type
- Simple
- cabal-version
- 2.2
- category
- System
- copyright
- Julian Ospald 2021-2023
- extra-doc-files
- changelog.md README.md
- extra-source-files
- System/OsString/Common.hs tests/bytestring-tests/Properties/Common.hs bench/Common.hs
- homepage
- https://github.com/haskell/os-string/blob/master/README.md
- license
- BSD-3-Clause
- license-file
- LICENSE
- maintainer
- Julian Ospald <hasufell@posteo.de>
- name
- os-string
- synopsis
- Library for manipulating Operating system strings.
- tested-with
- GHC ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.4 || ==9.14.1
- version
- 2.0.11
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "os-string",
"version": "2.0.11",
"cabalVersion": "2.2",
"buildType": "Simple",
"fields": {
"author": [
"Julian Ospald <hasufell@posteo.de>"
],
"bug-reports": [
"https://github.com/haskell/os-string/issues"
],
"build-type": [
"Simple"
],
"cabal-version": [
"2.2"
],
"category": [
"System"
],
"copyright": [
"Julian Ospald 2021-2023"
],
"description": [
"This package provides functionality for manipulating @OsString@ values, and is shipped with <https://www.haskell.org/ghc/ GHC>."
],
"extra-doc-files": [
"changelog.md\nREADME.md"
],
"extra-source-files": [
"System/OsString/Common.hs\ntests/bytestring-tests/Properties/Common.hs\nbench/Common.hs"
],
"homepage": [
"https://github.com/haskell/os-string/blob/master/README.md"
],
"license": [
"BSD-3-Clause"
],
"license-file": [
"LICENSE"
],
"maintainer": [
"Julian Ospald <hasufell@posteo.de>"
],
"name": [
"os-string"
],
"synopsis": [
"Library for manipulating Operating system strings."
],
"tested-with": [
"GHC ==9.6.7\n|| ==9.8.4\n|| ==9.10.3\n|| ==9.12.4\n|| ==9.14.1"
],
"version": [
"2.0.11"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"System.OsString.Data.ByteString.Short",
"System.OsString.Data.ByteString.Short.Internal",
"System.OsString.Data.ByteString.Short.Word16",
"System.OsString.Encoding",
"System.OsString.Encoding.Internal",
"System.OsString",
"System.OsString.Internal",
"System.OsString.Internal.Exception",
"System.OsString.Internal.Types",
"System.OsString.Posix",
"System.OsString.Windows"
],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": ">=4.12.0.0 && <4.23",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.11.3.0",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "exceptions",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"compiler": "ghc",
"range": ">=7.2"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"compiler": "ghc",
"range": "<9.14"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "template-haskell",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": [
{
"condition": {
"compiler": "ghc",
"range": "-any"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "template-haskell-lift",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
]
},
{
"package": "template-haskell-quasiquoter",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
}
]
}
}
]
}
},
{
"kind": "test-suite",
"name": "bytestring-tests",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [
"Properties.ShortByteString",
"Properties.WindowsString",
"Properties.PosixString",
"Properties.OsString",
"Properties.ShortByteString.Word16",
"TestUtil"
],
"dependencies": [
{
"package": "base",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.11.3.0",
"libraries": [
"main"
]
},
{
"package": "os-string",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "QuickCheck",
"range": ">=2.7 && <2.19",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": []
}
},
{
"kind": "test-suite",
"name": "encoding-tests",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [
"Arbitrary",
"EncodingSpec",
"TestUtil"
],
"dependencies": [
{
"package": "base",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.11.3.0",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "os-string",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "QuickCheck",
"range": ">=2.7 && <2.19",
"libraries": [
"main"
]
},
{
"package": "quickcheck-classes-base",
"range": "^>=0.6.2",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": []
}
},
{
"kind": "benchmark",
"name": "bench",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [
"BenchOsString",
"BenchPosixString",
"BenchWindowsString"
],
"dependencies": [
{
"package": "base",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "os-string",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "tasty-bench",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "random",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": [
{
"condition": {
"compiler": "ghc",
"range": ">=8.6"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
}
]
}
}
],
"setupDependencies": [],
"flags": [],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"https://github.com/haskell/os-string"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/os-string-2.0.11/os-string.cabal",
"sha256": "c0663f5f428108680f4aae0f67b7b357c1bb5954281c7fbe941c50c58cd79f18",
"importedAt": "2026-10-14T12:45:48.851Z",
"dependencies": [
{
"package": "base",
"range": ">=4.12.0.0 && <4.23",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.11.3.0",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "exceptions",
"range": "-any",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "template-haskell",
"range": "-any",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"compiler": "ghc",
"range": "<9.14"
}
]
},
{
"package": "template-haskell-lift",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": "<9.14"
}
},
{
"compiler": "ghc",
"range": "-any"
}
]
},
{
"package": "template-haskell-quasiquoter",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": "<9.14"
}
},
{
"compiler": "ghc",
"range": "-any"
}
]
},
{
"package": "base",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:bytestring-tests",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.11.3.0",
"libraries": [
"main"
],
"component": "test-suite:bytestring-tests",
"conditions": []
},
{
"package": "os-string",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:bytestring-tests",
"conditions": []
},
{
"package": "QuickCheck",
"range": ">=2.7 && <2.19",
"libraries": [
"main"
],
"component": "test-suite:bytestring-tests",
"conditions": []
},
{
"package": "base",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:encoding-tests",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.11.3.0",
"libraries": [
"main"
],
"component": "test-suite:encoding-tests",
"conditions": []
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:encoding-tests",
"conditions": []
},
{
"package": "os-string",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:encoding-tests",
"conditions": []
},
{
"package": "QuickCheck",
"range": ">=2.7 && <2.19",
"libraries": [
"main"
],
"component": "test-suite:encoding-tests",
"conditions": []
},
{
"package": "quickcheck-classes-base",
"range": "^>=0.6.2",
"libraries": [
"main"
],
"component": "test-suite:encoding-tests",
"conditions": []
},
{
"package": "base",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench",
"conditions": []
},
{
"package": "bytestring",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench",
"conditions": []
},
{
"package": "os-string",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench",
"conditions": []
},
{
"package": "deepseq",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench",
"conditions": []
},
{
"package": "tasty-bench",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench",
"conditions": []
},
{
"package": "random",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench",
"conditions": []
}
],
"exposedModules": [
"System.OsString.Data.ByteString.Short",
"System.OsString.Data.ByteString.Short.Internal",
"System.OsString.Data.ByteString.Short.Word16",
"System.OsString.Encoding",
"System.OsString.Encoding.Internal",
"System.OsString",
"System.OsString.Internal",
"System.OsString.Internal.Exception",
"System.OsString.Internal.Types",
"System.OsString.Posix",
"System.OsString.Windows"
],
"documents": {
"readme": {
"status": "available",
"sha256": "1847015595e934205a68079446f0724095fe8ad5cb0e502db5af058456c7b01b",
"error": null,
"checkedAt": "2026-10-14T12:45:49.712Z"
},
"changelog": {
"status": "available",
"sha256": "ad777e2d32ef4449ab326b4b929ad05836856011796b75d015fc6f6f1e8bbd55",
"error": null,
"checkedAt": "2026-10-14T12:45:49.614Z"
}
},
"documentation": null,
"versions": [
{
"version": "2.0.11",
"imported_at": "2026-10-14T12:45:48.851Z"
}
]
}