File: protobuf.cabal

package info (click to toggle)
haskell-protobuf 0.2.1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: haskell: 1,248; makefile: 3
file content (112 lines) | stat: -rw-r--r-- 3,048 bytes parent folder | download | duplicates (3)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name:                protobuf
version:             0.2.1.3
synopsis:            Google Protocol Buffers via GHC.Generics
description:
  Google Protocol Buffers via GHC.Generics.
  .
  Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
  Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.
  .
  This library supports a useful subset of Google Protocol Buffers message specifications
  in a Haskell. No preprocessor or additional build steps are required for message encoding and decoding.
  .
  Record specifications are built by defining records with specially defined fields that
  capture most of the Protocol Buffers specification language.
  .
license:             BSD3
license-file:        LICENSE
extra-source-files:  LICENSE.google-protobuf, LICENSE.haskell-protocol-buffers, CHANGELOG
author:              Steve Severance, Nathan Howell
maintainer:          sseverance@alphaheavy.com, nhowell@alphaheavy.com
homepage:            https://github.com/alphaHeavy/protobuf
bug-reports:         https://github.com/alphaHeavy/protobuf/issues
category:            Data

build-type:          Simple
cabal-version:       >= 1.10

extra-source-files:
  tests/Main.hs

library
  default-language:
    Haskell2010
  hs-source-dirs:
    src
  exposed-modules:
    Data.ProtocolBuffers
    Data.ProtocolBuffers.Internal
    Data.ProtocolBuffers.Orphans
  other-modules:
    Data.ProtocolBuffers.Decode
    Data.ProtocolBuffers.Encode
    Data.ProtocolBuffers.Message
    -- Data.ProtocolBuffers.Ppr
    Data.ProtocolBuffers.Types
    Data.ProtocolBuffers.Wire
  build-depends:
    base                       >= 4.7 && < 5,
    base-orphans               >= 0.5,
    bytestring                 >= 0.9,
    cereal                     >= 0.3,
    data-binary-ieee754        >= 0.4,
    deepseq                    >= 1.1,
    mtl                        == 2.*,
    -- pretty,
    text                       >= 0.10,
    unordered-containers       >= 0.2
  ghc-options:
    -Wall

  if impl(ghc < 8.0)
    build-depends: semigroups == 0.18.*

-- executable protoc-gen-hs
  -- default-language:
    -- Haskell2010
  -- hs-source-dirs:
    -- plugin
  -- main-is:
    -- Main.hs
  -- build-depends:
    -- base                       >= 4.7 && < 5,
    -- bytestring,
    -- cereal,
    -- ghc-prim,
    -- haskell-src-exts,
    -- mtl,
    -- protobuf,
    -- text,
    -- unordered-containers
  -- ghc-options:
    -- -Wall

test-suite protobuf-test
  default-language:
    Haskell2010
  hs-source-dirs:
    tests
  type:
    exitcode-stdio-1.0
  main-is:
    Main.hs
  build-depends:
    base                       >= 4.7 && < 5,
    bytestring,
    cereal,
    containers,
    hex,
    mtl,
    protobuf,
    tagged,
    text,
    unordered-containers,
    tasty,
    tasty-hunit,
    tasty-quickcheck,
    HUnit                      >= 1.2,
    QuickCheck                 >= 2.4

source-repository head
  type:     git
  location: https://github.com/alphaHeavy/protobuf.git