packages feed

hw-prim-bits-0.1.0.0: hw-prim-bits.cabal

name:                hw-prim-bits
version:             0.1.0.0
synopsis:            Primitive support for bit manipulation
description:         Please see README.md
homepage:            https://github.com/githubuser/hw-prim-bits#readme
license:             BSD3
license-file:        LICENSE
author:              Author name here
maintainer:          example@example.com
copyright:           2017 Author name here
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >= 1.10

library
  hs-source-dirs:       src
  exposed-modules:      HaskellWorks.Prim.Bits
  build-depends:        base >= 4.7 && < 5
  default-language:     Haskell2010
  C-sources:            cbits/bits.c
  Include-dirs:         cbits
  Install-includes:     bits.h

executable hw-prim-bits-exe
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , hw-prim-bits
  default-language:    Haskell2010

test-suite hw-prim-bits-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , hw-prim-bits
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

benchmark bench
    Type: exitcode-stdio-1.0
    HS-Source-Dirs: bench
    Main-Is: Main.hs
    if flag(sse42)
      GHC-Options: -Wall -O2 -msse4.2
    else
      GHC-Options: -Wall -O2
    Default-Language: Haskell2010
    Build-Depends:      base                          >= 4          && < 5
                      , criterion
                      , hw-prim-bits
                      , vector

source-repository head
  type:     git
  location: https://github.com/githubuser/hw-prim-bits