File: config-schema.cabal

package info (click to toggle)
haskell-config-schema 1.3.0.0-3
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 140 kB
  • sloc: haskell: 702; makefile: 6
file content (59 lines) | stat: -rw-r--r-- 1,897 bytes parent folder | download
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
cabal-version:       2.2
name:                config-schema
version:             1.3.0.0
x-revision: 5
synopsis:            Schema definitions for the config-value package
license:             ISC
license-file:        LICENSE
author:              Eric Mertens
maintainer:          emertens@gmail.com
copyright:           Eric Mertens 2017
category:            Language
build-type:          Simple
extra-source-files:  ChangeLog.md README.md
homepage:            https://github.com/glguy/config-schema
bug-reports:         https://github.com/glguy/config-schema/issues
tested-with:         GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.2

description:
  This package makes it possible to define schemas for use when
  loading configuration files using the config-value format.
  These schemas can be used to process a configuration file into
  a Haskell value or to automatically generate documentation for
  the file format.

source-repository head
  type:     git
  location: https://github.com/glguy/config-schema

library
  exposed-modules:
    Config.Schema
    Config.Schema.Docs
    Config.Schema.Load
    Config.Schema.Load.Error
    Config.Schema.Spec
    Config.Schema.Types

  build-depends:
    base           >=4.9   && <4.21,
    config-value   ^>=0.8.3,
    containers     >=0.5   && <0.8,
    free           >=4.12  && <5.3,
    kan-extensions >=5.0.2 && <5.3,
    pretty         >=1.1.2 && <1.2,
    semigroupoids  >=5.1   && <6.1,
    text           >=1.2   && <2.2,
    transformers   >=0.4   && <0.7,

  hs-source-dirs:       src
  default-language:     Haskell2010
  ghc-options:          -Wall

test-suite unit-tests
  type:                 exitcode-stdio-1.0
  main-is:              Main.hs
  hs-source-dirs:       tests
  build-depends:        base, config-value, config-schema, text
  default-language:     Haskell2010
  ghc-options:          -Wall