[Git][haskell-team/package-plan][master] add original cborg cabal file

Clint Adams gitlab at salsa.debian.org
Sun Sep 1 17:37:47 BST 2019



Clint Adams pushed to branch master at Debian Haskell Group / package-plan


Commits:
aae05f82 by Clint Adams at 2019-09-01T16:37:34Z
add original cborg cabal file

- - - - -


1 changed file:

- + additional-cabals/cborg-0.2.1.0.cabal


Changes:

=====================================
additional-cabals/cborg-0.2.1.0.cabal
=====================================
@@ -0,0 +1,141 @@
+name:                cborg
+version:             0.2.1.0
+synopsis:            Concise Binary Object Representation
+license:             BSD3
+license-file:        LICENSE.txt
+author:              Duncan Coutts
+maintainer:          duncan at community.haskell.org, ben at smart-cactus.org
+bug-reports:         https://github.com/well-typed/cborg/issues
+copyright:           2015-2017 Duncan Coutts,
+                     2015-2017 Well-Typed LLP,
+                     2015 IRIS Connect Ltd
+category:            Codec
+build-type:          Simple
+cabal-version:       >= 1.10
+tested-with:         GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
+
+extra-source-files:
+  ChangeLog.md
+
+description:
+  This package (formerly @binary-serialise-cbor@) provides an efficient
+  implementation of the Concise Binary Object Representation (CBOR), as
+  specified by [RFC 7049](https://tools.ietf.org/html/rfc7049).
+  .
+  If you are looking for a library for serialisation of Haskell values,
+  have a look at the [serialise](/package/serialise) package, which is
+  built upon this library.
+  .
+  An implementation of the standard bijection between CBOR and JSON is provided
+  by the [cborg-json](/package/cborg-json) package. Also see [cbor-tool](/package/cbor-tool)
+  for a convenient command-line utility for working with CBOR data.
+extra-source-files:
+  src/cbits/cbor.h
+  tests/test-vectors/appendix_a.json
+  tests/test-vectors/README.md
+
+source-repository head
+  type: git
+  location: https://github.com/well-typed/cborg.git
+
+--------------------------------------------------------------------------------
+-- Flags
+
+flag optimize-gmp
+  default: True
+  manual: False
+  description: Use optimized code paths for integer-gmp
+
+--------------------------------------------------------------------------------
+-- Library
+
+library
+  default-language:  Haskell2010
+  ghc-options:       -Wall
+  include-dirs:      src/cbits
+  hs-source-dirs:    src
+
+  exposed-modules:
+    Codec.CBOR
+    Codec.CBOR.Decoding
+    Codec.CBOR.Encoding
+    Codec.CBOR.FlatTerm
+    Codec.CBOR.Magic
+    Codec.CBOR.Pretty
+    Codec.CBOR.Read
+    Codec.CBOR.Write
+    Codec.CBOR.Term
+    Codec.CBOR.ByteArray
+    Codec.CBOR.ByteArray.Sliced
+
+  other-modules:
+    Codec.CBOR.ByteArray.Internal
+
+  other-extensions:
+    CPP, ForeignFunctionInterface, MagicHash,
+    UnboxedTuples, BangPatterns, DeriveDataTypeable,
+    RankNTypes
+
+  build-depends:
+    array                   >= 0.4     && < 0.6,
+    base                    >= 4.6     && < 5.0,
+    bytestring              >= 0.10.4  && < 0.11,
+    containers              >= 0.5     && < 0.7,
+    deepseq                 >= 1.0     && < 1.5,
+    ghc-prim                >= 0.3.1.0 && < 0.6,
+    half                    >= 0.2.2.3 && < 0.4,
+    primitive               >= 0.5     && < 0.7,
+    text                    >= 1.1     && < 1.3
+
+  if flag(optimize-gmp)
+    cpp-options:            -DFLAG_OPTIMIZE_GMP
+    build-depends:
+      integer-gmp
+
+  if impl(ghc >= 8.0)
+    ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
+  else
+    -- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
+    build-depends: fail == 4.9.*, semigroups == 0.18.*
+
+test-suite tests
+  type:              exitcode-stdio-1.0
+  hs-source-dirs:    tests
+  main-is:           Main.hs
+
+  default-language:  Haskell2010
+  ghc-options:
+    -Wall -fno-warn-orphans
+    -threaded -rtsopts "-with-rtsopts=-N2"
+
+  other-modules:
+    Tests.CBOR
+    Tests.Boundary
+    Tests.Regress
+    Tests.Regress.Issue160
+    Tests.Regress.Issue162
+    Tests.Regress.FlatTerm
+    Tests.Reference
+    Tests.Reference.Implementation
+    Tests.UTF8
+    Tests.Util
+
+  build-depends:
+    array                   >= 0.4     && < 0.6,
+    base                    >= 4.6     && < 5.0,
+    bytestring              >= 0.10.4  && < 0.11,
+    text                    >= 1.1     && < 1.3,
+    cborg,
+    aeson                   >= 0.7     && < 1.5,
+    base64-bytestring       >= 1.0     && < 1.1,
+    base16-bytestring       >= 0.1     && < 0.2,
+    deepseq                 >= 1.0     && < 1.5,
+    fail                    >= 4.9.0.0 && < 4.10,
+    half                    >= 0.2.2.3 && < 0.4,
+    QuickCheck              >= 2.9     && < 2.13,
+    scientific              >= 0.3     && < 0.4,
+    tasty                   >= 0.11    && < 1.2,
+    tasty-hunit             >= 0.9     && < 0.11,
+    tasty-quickcheck        >= 0.8     && < 0.11,
+    vector                  >= 0.10    && < 0.13
+



View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/commit/aae05f82f422c483cb1794af3cf0457207b98279

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/commit/aae05f82f422c483cb1794af3cf0457207b98279
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190901/7e58ea30/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list