summaryrefslogtreecommitdiff
path: root/network-byte-order.cabal
blob: e26efb3bb187808058cfe87c74a9aa1e9b2738ec (plain)
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
-- Initial network-byte-order.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                network-byte-order
version:             0.1.6
x-revision: 1
synopsis:            Network byte order utilities
description:         Peek and poke functions for network byte order.
license:             BSD3
license-file:        LICENSE
author:              Kazu Yamamoto
maintainer:          kazu@iij.ad.jp
-- copyright:
category:            Network
build-type:          Simple
-- extra-source-files:  ChangeLog.md
cabal-version:       >= 1.10

library
  ghc-options:         -Wall
  exposed-modules:     Network.ByteOrder
  -- other-modules:
  -- other-extensions:
  build-depends:       base >= 4.9 && < 5
                     , bytestring
  -- hs-source-dirs:
  default-language:    Haskell2010
  if impl(ghc >= 8)
      default-extensions:  Strict StrictData

test-suite doctest
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test
  ghc-options:          -Wall
  main-is:              doctests.hs
  build-depends:        base
                      , bytestring
                      , doctest

source-repository head
  type:     git
  location: git://github.com/kazu-yamamoto/network-byte-order.git