git.iko.soy/typeable/minio-hs
on add-x-amz-acl help sign in
typeable/minio-hs/minio-hs.cabal
353 lines 12 kB history raw
1cabal-version: 2.4
2name: minio-hs
3version: 1.7.0
4synopsis: A MinIO Haskell Library for Amazon S3 compatible cloud
5 storage.
6description: The MinIO Haskell client library provides simple APIs to
7 access MinIO, Amazon S3 and other API compatible cloud
8 storage servers.
9homepage: https://github.com/minio/minio-hs#readme
10license: Apache-2.0
11license-file: LICENSE
12author: MinIO Dev Team
13maintainer: dev@min.io
14category: Network, AWS, Object Storage
15build-type: Simple
16stability: Experimental
17extra-doc-files:
18 CHANGELOG.md
19 CONTRIBUTING.md
20 docs/API.md
21 README.md
22extra-source-files:
23 examples/*.hs
24 stack.yaml
25tested-with: GHC == 8.10.7
26 , GHC == 9.0.2
27 , GHC == 9.2.8
28 , GHC == 9.4.8
29 , GHC == 9.6.5
30 , GHC == 9.8.2
32source-repository head
33 type: git
34 location: https://github.com/minio/minio-hs.git
36Flag dev
37 Description: Build package in development mode
38 Default: False
39 Manual: True
41common base-settings
42 ghc-options: -Wall
43 -Wcompat
44 -Widentities
45 -Wincomplete-uni-patterns
46 -Wincomplete-record-updates
47 -haddock
48 if impl(ghc >= 8.0)
49 ghc-options: -Wredundant-constraints
50 if impl(ghc >= 8.2)
51 ghc-options: -fhide-source-paths
52 if impl(ghc >= 8.4)
53 ghc-options: -Wpartial-fields
54 -- -Wmissing-export-lists
55 if impl(ghc >= 8.8)
56 ghc-options: -Wmissing-deriving-strategies
57 -Werror=missing-deriving-strategies
58 -- if impl(ghc >= 8.10)
59 -- ghc-options: -Wunused-packages -- disabled due to bug related to mixin config
60 if impl(ghc >= 9.0)
61 ghc-options: -Winvalid-haddock
62 if impl(ghc >= 9.2)
63 ghc-options: -Wredundant-bang-patterns
64 if flag(dev)
65 ghc-options: -Werror
67 default-language: Haskell2010
69 default-extensions: BangPatterns
70 , DerivingStrategies
71 , FlexibleContexts
72 , FlexibleInstances
73 , LambdaCase
74 , MultiParamTypeClasses
75 , MultiWayIf
76 , OverloadedStrings
77 , RankNTypes
78 , ScopedTypeVariables
79 , TupleSections
81 other-modules: Lib.Prelude
82 , Network.Minio.API
83 , Network.Minio.APICommon
84 , Network.Minio.Data
85 , Network.Minio.Data.ByteString
86 , Network.Minio.Data.Crypto
87 , Network.Minio.Data.Time
88 , Network.Minio.CopyObject
89 , Network.Minio.Errors
90 , Network.Minio.ListOps
91 , Network.Minio.PresignedOperations
92 , Network.Minio.PutObject
93 , Network.Minio.SelectAPI
94 , Network.Minio.Sign.V4
95 , Network.Minio.Utils
96 , Network.Minio.XmlGenerator
97 , Network.Minio.XmlParser
98 , Network.Minio.XmlCommon
99 , Network.Minio.JsonParser
100 , Network.Minio.Credentials.Types
101 , Network.Minio.Credentials.AssumeRole
102 , Network.Minio.Credentials
104 mixins: base hiding (Prelude)
105 , relude (Relude as Prelude)
106 , relude
108 build-depends: base >= 4.7 && < 5
109 , relude >= 0.7 && < 2
110 , aeson >= 1.2 && < 3
111 , base64-bytestring >= 1.0
112 , binary >= 0.8.5.0
113 , bytestring >= 0.10
114 , case-insensitive >= 1.2
115 , conduit >= 1.3
116 , conduit-extra >= 1.3
117 , crypton-connection
118 , cryptonite >= 0.25
119 , cryptonite-conduit >= 0.2
120 , data-default-class
121 , digest >= 0.0.1
122 , directory
123 , filepath >= 1.4
124 , http-client >= 0.5
125 , http-client-tls
126 , http-conduit >= 2.3
127 , http-types >= 0.12
128 , ini
129 , memory >= 0.14
130 , network-uri
131 , resourcet >= 1.2
132 , retry
133 , text >= 1.2
134 , time >= 1.9
135 , time-units ^>= 1.0.0
136 , transformers >= 0.5
137 , unliftio >= 0.2 && < 0.3
138 , unliftio-core >= 0.2 && < 0.3
139 , unordered-containers >= 0.2
140 , xml-conduit >= 1.8
142library
143 import: base-settings
144 hs-source-dirs: src
145 exposed-modules: Network.Minio
146 , Network.Minio.AdminAPI
147 , Network.Minio.S3API
149Flag live-test
150 Description: Build the test suite that runs against a live MinIO server
151 Default: False
152 Manual: True
154test-suite minio-hs-live-server-test
155 import: base-settings
156 type: exitcode-stdio-1.0
157 hs-source-dirs: test, src
158 main-is: LiveServer.hs
159 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
160 other-modules: Network.Minio
161 , Network.Minio.S3API
162 , Network.Minio.AdminAPI
163 , Network.Minio.API.Test
164 , Network.Minio.JsonParser.Test
165 , Network.Minio.TestHelpers
166 , Network.Minio.Utils.Test
167 , Network.Minio.XmlGenerator.Test
168 , Network.Minio.XmlParser.Test
169 , Network.Minio.Credentials
170 build-depends: minio-hs
171 , raw-strings-qq
172 , tasty
173 , tasty-hunit
174 , tasty-quickcheck
175 , tasty-smallcheck
176 , QuickCheck
177 if !flag(live-test)
178 buildable: False
180test-suite minio-hs-test
181 import: base-settings
182 type: exitcode-stdio-1.0
183 hs-source-dirs: test, src
184 main-is: Spec.hs
185 build-depends: minio-hs
186 , raw-strings-qq
187 , QuickCheck
188 , tasty
189 , tasty-hunit
190 , tasty-quickcheck
191 , tasty-smallcheck
192 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
193 other-modules: Lib.Prelude
194 , Network.Minio
195 , Network.Minio.S3API
196 , Network.Minio.AdminAPI
197 , Network.Minio.TestHelpers
198 , Network.Minio.API.Test
199 , Network.Minio.JsonParser.Test
200 , Network.Minio.Utils.Test
201 , Network.Minio.XmlGenerator.Test
202 , Network.Minio.XmlParser.Test
203 , Network.Minio.Credentials
205Flag examples
206 Description: Build the examples
207 Default: False
208 Manual: True
210common examples-settings
211 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
212 default-language: Haskell2010
213 default-extensions: OverloadedStrings
214 build-depends: base >= 4.7 && < 5
215 , bytestring
216 , case-insensitive
217 , conduit
218 , conduit-extra
219 , filepath
220 , minio-hs
221 , optparse-applicative
222 , text
223 , time
224 , unliftio
225 , unordered-containers
226 hs-source-dirs: examples
227 if !flag(examples)
228 buildable: False
230executable BucketExists
231 import: examples-settings
232 scope: private
233 main-is: BucketExists.hs
235executable CopyObject
236 import: examples-settings
237 scope: private
238 main-is: CopyObject.hs
240executable FileUploader
241 import: examples-settings
242 scope: private
243 main-is: FileUploader.hs
245executable GetConfig
246 import: examples-settings
247 scope: private
248 main-is: GetConfig.hs
250executable GetObject
251 import: examples-settings
252 scope: private
253 main-is: GetObject.hs
255executable HeadObject
256 import: examples-settings
257 scope: private
258 main-is: HeadObject.hs
260executable Heal
261 import: examples-settings
262 scope: private
263 main-is: Heal.hs
265executable ListBuckets
266 import: examples-settings
267 scope: private
268 main-is: ListBuckets.hs
270executable ListIncompleteUploads
271 import: examples-settings
272 scope: private
273 main-is: ListIncompleteUploads.hs
275executable ListObjects
276 import: examples-settings
277 scope: private
278 main-is: ListObjects.hs
280executable MakeBucket
281 import: examples-settings
282 scope: private
283 main-is: MakeBucket.hs
285executable PresignedGetObject
286 import: examples-settings
287 scope: private
288 main-is: PresignedGetObject.hs
290executable PresignedPostPolicy
291 import: examples-settings
292 scope: private
293 main-is: PresignedPostPolicy.hs
295executable PresignedPutObject
296 import: examples-settings
297 scope: private
298 main-is: PresignedPutObject.hs
300executable PutObject
301 import: examples-settings
302 scope: private
303 main-is: PutObject.hs
305executable RemoveBucket
306 import: examples-settings
307 scope: private
308 main-is: RemoveBucket.hs
310executable RemoveIncompleteUpload
311 import: examples-settings
312 scope: private
313 main-is: RemoveIncompleteUpload.hs
315executable RemoveObject
316 import: examples-settings
317 scope: private
318 main-is: RemoveObject.hs
320executable SelectObject
321 import: examples-settings
322 scope: private
323 main-is: SelectObject.hs
325executable ServerInfo
326 import: examples-settings
327 scope: private
328 main-is: ServerInfo.hs
330executable ServiceSendRestart
331 import: examples-settings
332 scope: private
333 main-is: ServiceSendRestart.hs
335executable ServiceSendStop
336 import: examples-settings
337 scope: private
338 main-is: ServiceSendStop.hs
340executable ServiceStatus
341 import: examples-settings
342 scope: private
343 main-is: ServiceStatus.hs
345executable SetConfig
346 import: examples-settings
347 scope: private
348 main-is: SetConfig.hs
350executable AssumeRole
351 import: examples-settings
352 scope: private
353 main-is: AssumeRole.hs