|
1 | | -cabal-version: 2.4 |
2 | | -name: matrix-client |
3 | | -version: 0.1.6.0 |
4 | | -synopsis: A matrix client library |
| 1 | +cabal-version: 2.4 |
| 2 | +name: matrix-client |
| 3 | +version: 0.1.6.0 |
| 4 | +synopsis: A matrix client library |
5 | 5 | description: |
6 | | - Matrix client is a library to interface with https://matrix.org. |
7 | | - . |
8 | | - Use this library to interact with matrix server. |
9 | | - . |
10 | | - Read the "Network.Matrix.Tutorial" for a detailed tutorial. |
11 | | - . |
12 | | - Please see the README at https://github.com/softwarefactory-project/matrix-client-haskell#readme |
13 | | - . |
14 | | -homepage: https://github.com/softwarefactory-project/matrix-client-haskell#readme |
15 | | -bug-reports: https://github.com/softwarefactory-project/matrix-client-haskell/issues |
16 | | -license: Apache-2.0 |
17 | | -license-file: LICENSE |
18 | | -author: Tristan de Cacqueray |
19 | | - |
20 | | -copyright: 2021 Red Hat |
21 | | -category: Network |
22 | | -build-type: Simple |
23 | | -extra-doc-files: CHANGELOG.md |
24 | | -extra-source-files: test/data/*.json |
25 | | -tested-with: GHC == 9.6.6 |
| 6 | + Matrix client is a library to interface with https://matrix.org. |
| 7 | + . |
| 8 | + Use this library to interact with matrix server. |
| 9 | + . |
| 10 | + Read the "Network.Matrix.Tutorial" for a detailed tutorial. |
| 11 | + . |
| 12 | + Please see the README at https://github.com/softwarefactory-project/matrix-client-haskell#readme |
| 13 | + . |
| 14 | + |
| 15 | +homepage: https://github.com/softwarefactory-project/matrix-client-haskell#readme |
| 16 | +bug-reports: https://github.com/softwarefactory-project/matrix-client-haskell/issues |
| 17 | +license: Apache-2.0 |
| 18 | +license-file: LICENSE |
| 19 | +author: Tristan de Cacqueray |
| 20 | + |
| 21 | +copyright: 2021 Red Hat |
| 22 | +category: Network |
| 23 | +build-type: Simple |
| 24 | +extra-doc-files: CHANGELOG.md |
| 25 | +extra-source-files: test/data/*.json |
| 26 | +tested-with: ghc ==9.6.6 |
26 | 27 |
|
27 | 28 | source-repository head |
28 | | - type: git |
29 | | - location: https://github.com/softwarefactory-project/matrix-client-haskell.git |
| 29 | + type: git |
| 30 | + location: https://github.com/softwarefactory-project/matrix-client-haskell.git |
30 | 31 |
|
31 | 32 | common common-options |
32 | | - build-depends: base >= 4.11.0.0 && < 5 |
33 | | - , aeson-casing >= 0.2.0.0 && < 0.3.0.0 |
34 | | - , aeson >= 1.0.0.0 && < 3 |
35 | | - ghc-options: -Wall |
36 | | - -Wcompat |
37 | | - -Widentities |
38 | | - -Wincomplete-uni-patterns |
39 | | - -Wincomplete-record-updates |
40 | | - -Wredundant-constraints |
41 | | - --write-ghc-environment-files=always |
42 | | - if impl(ghc >= 8.2) |
43 | | - ghc-options: -fhide-source-paths |
44 | | - if impl(ghc >= 8.4) |
45 | | - ghc-options: -Wmissing-export-lists |
| 33 | + build-depends: |
| 34 | + aeson >=1.0.0.0 && <3, |
| 35 | + aeson-casing >=0.2.0.0 && <0.3.0.0, |
| 36 | + base >=4.11.0.0 && <5, |
| 37 | + |
| 38 | + ghc-options: |
| 39 | + -Wall |
| 40 | + -Wcompat |
| 41 | + -Widentities |
| 42 | + -Wincomplete-uni-patterns |
| 43 | + -Wincomplete-record-updates |
| 44 | + -Wredundant-constraints |
| 45 | + |
| 46 | + --write-ghc-environment-files=always |
| 47 | + if impl(ghc >=8.2) |
| 48 | + ghc-options: -fhide-source-paths |
46 | 49 |
|
47 | | - default-language: Haskell2010 |
| 50 | + if impl(ghc >=8.4) |
| 51 | + ghc-options: -Wmissing-export-lists |
| 52 | + default-language: Haskell2010 |
48 | 53 |
|
49 | 54 | common lib-depends |
50 | | - build-depends: SHA ^>= 1.6 |
51 | | - , base64 >= 1.0 |
52 | | - , bytestring >= 0.11.3 && < 0.13 |
53 | | - , containers >= 0.6.5 && < 0.8 |
54 | | - , exceptions >= 0.10.4 && < 0.11 |
55 | | - , hashable >= 1.4.0 && < 1.5 |
56 | | - , http-client >= 0.5.0 && < 0.8 |
57 | | - , http-client-tls >= 0.2.0 && < 0.4 |
58 | | - , http-types >= 0.10.0 && < 0.13 |
59 | | - , network-uri >= 2.6.4 && < 2.7 |
60 | | - , profunctors >= 5.6.2 && < 5.7 |
61 | | - , retry >= 0.8 && < 0.10 |
62 | | - , text >= 0.11.1.0 && < 3 |
63 | | - , time >= 1.11.1 && < 1.13 |
64 | | - , unordered-containers >= 0.2.17 && < 0.3 |
| 55 | + build-depends: |
| 56 | + SHA ^>=1.6, |
| 57 | + base64 >=1.0, |
| 58 | + bytestring >=0.11.3 && <0.13, |
| 59 | + containers >=0.6.5 && <0.8, |
| 60 | + exceptions >=0.10.4 && <0.11, |
| 61 | + hashable >=1.4.0 && <1.5, |
| 62 | + http-client >=0.5.0 && <0.8, |
| 63 | + http-client-tls >=0.2.0 && <0.4, |
| 64 | + http-types >=0.10.0 && <0.13, |
| 65 | + network-uri >=2.6.4 && <2.7, |
| 66 | + profunctors >=5.6.2 && <5.7, |
| 67 | + retry >=0.8 && <0.10, |
| 68 | + text >=0.11.1.0 && <3, |
| 69 | + time >=1.11.1 && <1.13, |
| 70 | + unordered-containers >=0.2.17 && <0.3, |
65 | 71 |
|
66 | 72 | library |
67 | | - import: common-options, lib-depends |
68 | | - hs-source-dirs: src |
69 | | - exposed-modules: Network.Matrix.Client |
70 | | - , Network.Matrix.Client.Lens |
71 | | - , Network.Matrix.Identity |
72 | | - , Network.Matrix.Tutorial |
73 | | - other-modules: Network.Matrix.Events |
74 | | - , Network.Matrix.Internal |
75 | | - , Network.Matrix.Room |
| 73 | + import: common-options, lib-depends |
| 74 | + hs-source-dirs: src |
| 75 | + exposed-modules: |
| 76 | + Network.Matrix.Client |
| 77 | + Network.Matrix.Client.Lens |
| 78 | + Network.Matrix.Identity |
| 79 | + Network.Matrix.Tutorial |
| 80 | + |
| 81 | + other-modules: |
| 82 | + Network.Matrix.Events |
| 83 | + Network.Matrix.Internal |
| 84 | + Network.Matrix.Room |
76 | 85 |
|
77 | 86 | test-suite unit |
78 | | - import: common-options, lib-depends |
79 | | - type: exitcode-stdio-1.0 |
80 | | - hs-source-dirs: test, src |
81 | | - main-is: Spec.hs |
82 | | - build-depends: base |
83 | | - , bytestring |
84 | | - , aeson-pretty |
85 | | - , hspec >= 2 |
86 | | - , matrix-client |
87 | | - , text |
| 87 | + import: common-options, lib-depends |
| 88 | + type: exitcode-stdio-1.0 |
| 89 | + hs-source-dirs: |
| 90 | + test |
| 91 | + src |
| 92 | + |
| 93 | + main-is: Spec.hs |
| 94 | + build-depends: |
| 95 | + aeson-pretty, |
| 96 | + base, |
| 97 | + bytestring, |
| 98 | + hspec >=2, |
| 99 | + matrix-client, |
| 100 | + text, |
0 commit comments