File: binary-orphans.cabal

package info (click to toggle)
haskell-binary-orphans 1.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 64 kB
  • sloc: haskell: 96; makefile: 5
file content (68 lines) | stat: -rw-r--r-- 1,960 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
60
61
62
63
64
65
66
67
68
cabal-version:      1.12
name:               binary-orphans
version:            1.0.5
synopsis:           Compatibility package for binary; provides instances
category:           Data, Binary, Parsing, Compatibility
description:
  This package provides instances defined in later versions of @binary@ package
  .
  Prior version 1 this packages provided instances for other packages.
  That functionality is moved to [binary-instances](https://hackage.haskell.org/package/binary-instances) package.

build-type:         Simple
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
author:             Oleg Grenrus <oleg.grenrus@iki.fi>
license:            BSD3
license-file:       LICENSE
tested-with:
  GHC ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.5
   || ==9.8.2
   || ==9.10.1

extra-source-files: CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/phadej/binary-orphans.git

library
  default-language: Haskell2010
  hs-source-dirs:   src
  ghc-options:      -Wall
  exposed-modules:  Data.Binary.Orphans
  other-extensions: CPP
  build-depends:
      base          >=4.12.0.0  && <4.21
    , binary        >=0.8.6.0 && <0.8.10

  if !impl(ghc >=9.2)
    build-depends: OneTuple >=0.4.2 && <0.5

  if impl(ghc >=8.0 && <9.4)
    build-depends: data-array-byte >=0.1.0.1 && <0.2

test-suite binary-orphans-test
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          Tests.hs
  hs-source-dirs:   test
  ghc-options:      -Wall
  build-depends:
      base
    , binary
    , binary-orphans
    , OneTuple              >=0.3      && <0.5
    , QuickCheck            >=2.13.1   && <2.16
    , quickcheck-instances  >=0.3.28   && <0.4
    , tagged                >=0.8.6    && <0.9
    , tasty                 >=0.10.1.2 && <1.6
    , tasty-quickcheck      >=0.8.3.2  && <0.11

  if impl(ghc >=8.0 && <9.4)
    build-depends: data-array-byte