File: byte-order.cabal

package info (click to toggle)
haskell-byte-order 0.1.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80 kB
  • sloc: haskell: 458; makefile: 3
file content (54 lines) | stat: -rw-r--r-- 1,538 bytes parent folder | download | duplicates (2)
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
cabal-version:   2.2
name:            byte-order
version:         0.1.3.1
synopsis:        Portable big-endian and little-endian conversions
description:
  This library provides an interface to portably work with byte
  arrays whose contents are known to be of a fixed endianness.
  There are two ways to use this module. See the `System.ByteOrder`
  module for more documentation.

homepage:        https://github.com/byteverse/byte-order
bug-reports:     https://github.com/byteverse/byte-order/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Andrew Martin
maintainer:      amartin@layer3com.com
copyright:       2019 Andrew Martin
category:        Data
extra-doc-files: CHANGELOG.md

library
  exposed-modules:
    Data.Primitive.ByteArray.BigEndian
    Data.Primitive.ByteArray.LittleEndian
    Data.Primitive.Ptr.BigEndian
    System.ByteOrder
    System.ByteOrder.Class

  build-depends:
    , base                 >=4.11.1.0 && <5
    , primitive            >=0.6.4    && <0.10
    , primitive-unaligned  >=0.1.1    && <0.2
    , wide-word            >=0.1.1    && <0.2

  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -O2 -Wall

test-suite unit
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Unit.hs
  build-depends:
    , base
    , byte-order
    , primitive
    , wide-word

  ghc-options:      -Wall -O2
  default-language: Haskell2010

source-repository head
  type:     git
  location: git://github.com/byteverse/byte-order.git