-
Notifications
You must be signed in to change notification settings - Fork 0
/
purl.cabal
95 lines (87 loc) · 2.24 KB
/
purl.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
cabal-version: 3.0
name: purl
version: 0.1.0.0
license: BSD-3-Clause
copyright: 2023 Casey Mattingly
maintainer: [email protected]
author: Casey Mattingly
category: Library
bug-reports: https://github.com/akacase/purl/issues
synopsis: Purl specification and parser
description:
A library that documents the purl specification (v1.0.X) and implements the corresponding parser.
extra-source-files:
LICENSE
README.md
common shared
ghc-options:
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wmissing-deriving-strategies -Wunused-foralls -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds
default-extensions:
NoStarIsType
BangPatterns
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
GADTSyntax
GeneralisedNewtypeDeriving
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NumericUnderscores
OverloadedStrings
PolyKinds
PostfixOperators
RankNTypes
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
build-depends:
, base >=4.14 && <4.19
, containers >=0.6 && <0.7
, megaparsec >=9.2.2 && <9.3
, text >=1.2 && <3
hs-source-dirs: src
default-language: Haskell2010
library
import: shared
exposed-modules: Purl
test-suite unittests
import: shared
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
default-extensions: QuasiQuotes
build-tool-depends: hspec-discover:hspec-discover >=2.10 && <2.11 || ^>=2.11
build-depends:
, base >=4.14 && <4.19
, containers >=0.6 && <0.7
, hspec >=2.10 && <2.11 || ^>=2.11
, purl
, text >=1.2 && <3
other-modules:
ParseSpec
Purl