-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.yaml
154 lines (141 loc) · 2.82 KB
/
package.yaml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
name: pantry
version: 0.10.0
synopsis: Content addressable Haskell package management
description: Please see the README on GitHub at <https://github.com/commercialhaskell/pantry#readme>
category: Development
author: Michael Snoyman
maintainer: [email protected]
copyright: 2018-2022 FP Complete
license: BSD3
github: commercialhaskell/pantry
extra-source-files:
- CONTRIBUTING.md
- README.md
- ChangeLog.md
- attic/hpack-0.1.2.3.tar.gz
- attic/package-0.1.2.3.tar.gz
- attic/symlink-to-dir.tar.gz
flags:
test-pretty-exceptions:
description: Build an executable to test pretty exceptions
default: false
manual: false
dependencies:
- base >= 4.13 && < 5
- aeson
- aeson-warning-parser >= 0.1.1
- ansi-terminal
- bytestring
- Cabal >= 3 && < 3.13
- casa-client >= 0.0.2
- casa-types
- companion
- conduit
- conduit-extra
- containers
- crypton
- crypton-conduit
- digest
- filelock
- generic-deriving
- hackage-security
- hpack >= 0.35.3
- http-client
- http-client-tls >= 0.3.6.2
- http-conduit
- http-download >= 0.2.1.0
- http-types
- memory
- mtl
- network-uri
- path
- path-io
- persistent
- persistent-sqlite >= 2.9.3
- persistent-template
- primitive
- resourcet
- rio
- rio-orphans
- rio-prettyprint >= 0.1.7.0
- static-bytes >= 0.1.1
- tar-conduit >= 0.4.1
- text
- text-metrics
- time
- transformers
- unix-compat
- unliftio
- unordered-containers
- vector
- yaml
- zip-archive
# See https://github.com/haskell/network/pull/552.
when:
condition: impl(ghc >= 9.4.5) && os(windows)
dependencies: network >= 3.1.2.9
ghc-options:
- -fwrite-ide-info
- -hiedir=.hie
- -Wall
# For testing
internal-libraries:
internal:
source-dirs: int/
library:
source-dirs: src/
when:
- condition: 'os(windows)'
then:
source-dirs: src/windows/
else:
source-dirs: src/unix/
dependencies:
- internal
exposed-modules:
- Pantry
- Pantry.SQLite
# For stackage-server, and stack testing
- Pantry.Internal.Stackage
reexported-modules:
- Pantry.SHA256
other-modules:
- Hackage.Security.Client.Repository.HttpLib.HttpClient
- Pantry.Archive
- Pantry.HTTP
- Pantry.Hackage
- Pantry.Repo
- Pantry.Storage
- Pantry.Casa
- Pantry.Tree
executables:
test-pretty-exceptions:
when:
- condition: "!flag(test-pretty-exceptions)"
buildable: false
- condition: 'os(windows)'
then:
source-dirs: app/test-pretty-exceptions/windows/
dependencies:
- process
- Win32
else:
source-dirs: app/test-pretty-exceptions/unix/
main: Main.hs
source-dirs: app/test-pretty-exceptions
dependencies:
- pantry
- optparse-applicative
tests:
spec:
build-tools: hspec-discover
source-dirs: test
main: Spec.hs
dependencies:
- pantry
- exceptions
- hedgehog
- hspec
- QuickCheck
- raw-strings-qq
- internal