packages feed

primitive-unaligned-0.1.1.2: primitive-unaligned.cabal

cabal-version: 2.2
name: primitive-unaligned
version: 0.1.1.2
synopsis: Unaligned access to primitive arrays
description: Unaligned access to primitive arrays. The offsets are given in bytes rather than elements.
homepage: https://github.com/haskell-primitive/primitive-unaligned
bug-reports: https://github.com/haskell-primitive/primitive-unaligned/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: Andrew Martin <andrew.thaddeus@gmail.com>
copyright: 2019 Andrew Martin
category: Data
tested-with: GHC == 8.6.4

library
  exposed-modules:
    Data.Primitive.ByteArray.Unaligned
  other-modules:
    Data.Primitive.Unaligned.Mach
  build-depends:
    , base >=4.12.0.0 && <5
    , primitive >=0.6.4 && <0.8
  hs-source-dirs: src
  if arch(aarch64) || arch(alpha) || arch(ia64) || arch(ppc64) || arch(x86_64)
    hs-source-dirs: src-64
  if arch(arm) || arch(hppa) || arch(i386) || arch(m68k) || arch(mips) || arch(rs6000) || arch(s390) || arch(sparc) || arch(vax)
    hs-source-dirs: src-32
  ghc-options: -Wall -O2
  default-language: Haskell2010

test-suite unit
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Unit.hs
  build-depends:
    , base
    , primitive-unaligned
    , primitive
  ghc-options: -Wall -O2
  default-language: Haskell2010

source-repository head
  type: git
  location: git://github.com/haskell-primitive/primitive-unaligned.git