-
Notifications
You must be signed in to change notification settings - Fork 3
/
opensource.cabal
68 lines (63 loc) · 2.17 KB
/
opensource.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
name: opensource
version: 0.1.1.0
synopsis: Haskell API Wrapper for the Open Source License API
description: The Open Source API contains metadata regarding OSI Approved Licenses, and crosswalks that help with using and integrating this information with external sources. This library is designed to interact with that API so that users can simply build applications that are license-aware.
homepage: https://api.opensource.org/
license: MIT
license-file: LICENSE
author: Clint Adams
maintainer: Clint Adams <[email protected]>
copyright: 2016 Clint Adams
category: Network
build-type: Simple
cabal-version: >=1.10
extra-source-files: tests/data/licenses.json
flag transformers_compat
default: False
description: use transformers-compat to get ExceptT
library
exposed-modules: Network.Protocol.OpenSource.License
build-depends:
base >=4.4 && <5
, aeson
, http-client >= 0.4.3.0
, http-client-tls
, text
default-language: Haskell2010
if flag(transformers_compat)
build-depends:
transformers >= 0.2 && <0.4
, transformers-compat >= 0.3 && <0.6
else
build-depends:
transformers >= 0.4
test-suite tests
type: exitcode-stdio-1.0
main-is: tests/suite.hs
other-modules: Network.Protocol.OpenSource.License
ghc-options: -Wall
build-depends:
base >= 4.4 && <5
, opensource
, aeson
, bytestring
, http-client
, http-client-tls
, text
, tasty
, tasty-hunit
default-language: Haskell2010
if flag(transformers_compat)
build-depends:
transformers >= 0.2 && <0.4
, transformers-compat >= 0.3 && <0.6
else
build-depends:
transformers >= 0.4
source-repository head
type: git
location: https://github.com/OpenSourceOrg/haskell-opensource.git
source-repository this
type: git
location: https://github.com/OpenSourceOrg/haskell-opensource.git
tag: haskell-opensource/0.1.1.0