packages feed

bitfield-0.0.0.0: bitfield.cabal

cabal-version:       2.4
name:                bitfield
version:             0.0.0.0
synopsis:            Generic and easy to use haskell bitfields
description:         Generic and easy to use haskell bitfields. Allows packing and modifying datatypes in a compact representation. See `README.md` or 'Data.Bitfield' for documentation.
license:             MIT
license-file:        LICENSE
author:              Jannis
maintainer:          Jannis <overesch.jannis@gmail.com>
copyright:           2022 Jannis
category:            Data, Bit
build-type:          Simple
extra-source-files:  README.md
                     CHANGELOG.md
                     LICENSE
tested-with:        
  GHC ==8.8.4 || ==8.10.7 || ==9.2.5 || ==9.4.3

source-repository head
  type:     git
  location: https://github.com/1Jajen1/bitfield

common common-options
  build-depends:       base >= 4 && < 5
  ghc-options:         -Wall
                       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
                       -fhide-source-paths
                       -Wmissing-export-lists
                       -Wpartial-fields
                       -Wmissing-deriving-strategies
                       -haddock
  default-language:    Haskell2010
library
  import:              common-options
  hs-source-dirs:      src
  exposed-modules:     Data.Bitfield
                     , Data.Bitfield.Internal
test-suite bitfield-test
  import:              common-options
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-tool-depends:  sydtest-discover:sydtest-discover
  build-depends:       bitfield
                     , sydtest >= 0.12 && < 0.14
                     , validity >= 0.12 && < 0.13
                     , genvalidity >= 1.0 && < 1.2
                     , genvalidity-sydtest >= 1.0 && < 1.1
                     , QuickCheck >= 2.13 && < 2.15
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N
  other-modules:       BitfieldSpec