File: binary-orphans.cabal

package info (click to toggle)
haskell-binary-orphans 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 100 kB
  • sloc: haskell: 199; makefile: 5
file content (66 lines) | stat: -rw-r--r-- 1,987 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
cabal-version: 1.12
name:          binary-orphans
version:       1.0.1
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 ==7.4.2 || ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1

extra-source-files: CHANGELOG.md

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

library
  default-language: Haskell2010
  hs-source-dirs:   src
  exposed-modules:  Data.Binary.Orphans
  other-extensions: CPP
  build-depends:
      base          >=4.5     && <4.15
    , binary        >=0.5.1.0 && <0.6 || >=0.7.1.0 && <0.8 || >=0.8.3.0 && <0.8.9
    , transformers  >=0.3.0.0 && <0.7

  if !impl(ghc >=7.10)
    build-depends: nats >=1.1.2 && <1.2
    build-depends: void >=0.7.3 && <0.8

  if !impl(ghc >=8.0)
    build-depends: fail ==4.9.*
    build-depends: semigroups >=0.18.5 && <0.19.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
    , QuickCheck            >=2.13.1   && <2.15
    , quickcheck-instances  >=0.3.21   && <0.4
    , tasty                 >=0.10.1.2 && <1.3
    , tasty-quickcheck      >=0.8.3.2  && <0.11
    , tagged >=0.8.6 && <0.8.7

  if !impl(ghc >=8.0)
    build-depends: semigroups

  if !impl(ghc >=7.10)
    build-depends:
        nats
      , void