-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgerrit.cabal
77 lines (71 loc) · 2.87 KB
/
gerrit.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
cabal-version: 2.4
name: gerrit
version: 0.1.6.1
synopsis: A gerrit client library
description:
Gerrit is a client library to interface with https://www.gerritcodereview.com/
.
Use this library to query and post to gerrit REST API.
.
homepage: https://github.com/softwarefactory-project/gerrit-haskell#readme
bug-reports: https://github.com/softwarefactory-project/gerrit-haskell/issues
license: Apache-2.0
license-file: LICENSE
author: Tristan de Cacqueray
maintainer: tdecacqu@redhat.com
copyright: 2020 Red Hat
category: Development
build-type: Simple
extra-doc-files: CHANGELOG.md
README.md
extra-source-files: test/data/*.json
tested-with: GHC == 8.10.4
source-repository head
type: git
location: https://github.com/softwarefactory-project/gerrit-haskell.git
common common-options
build-depends: base >= 4.11 && < 5
, aeson >= 2.0 && < 2.3
, bytestring >= 0.10 && < 0.13
, time >= 1 && < 2
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
default-language: Haskell2010
library
import: common-options
build-depends: containers >= 0.5.8.0 && < 0.8
, http-client >= 0.5.0 && < 0.8
, http-client-openssl >= 0.3.0 && < 1
, text >= 0.11 && < 3
, aeson-casing >= 0.2.0.0 && < 0.4
hs-source-dirs: src
exposed-modules: Gerrit
, Gerrit.Data.Review
, Gerrit.Data.Change
, Gerrit.Data.Account
, Gerrit.Data.Event
, Gerrit.Data.Project
other-modules: Gerrit.Client
test-suite gerrit-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: directory >= 1.0 && < 2
, gerrit
, tasty >= 0.11.2 && < 2
, tasty-hunit >= 0.10 && < 2
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N