PURL Type Definition: hackage
- Type Name: Haskell package
- Description: Haskell packages
- Schema ID:
https://packageurl.org/types/hackage-definition.json
PURL Syntax
The structure of a PURL for this package type is:
pkg:hackage/<name>@<version>?<qualifiers>#<subpath>
Repository Information
- Use Repository: Yes
- Default Repository URL: https://hackage.haskell.org
Namespace definition
- Requirement: Prohibited
- Note:
there is no namespace
Name definition
- Requirement: Required
- Case Sensitive: Yes
- Normalization rules:
- Apply kebab-case
- Native Label: name
- Note:
The name is case sensitive and use kebab-case.
Version definition
- Requirement: Optional
- Native Label: version
- Note:
The version is package version.
Examples
pkg:hackage/a50@0.5pkg:hackage/AC-HalfInteger@1.2.1pkg:hackage/3d-graphics-examples@0.0.0.2