packages feed

finitary-derive-1.0.0.0: finitary-derive.cabal

cabal-version:         2.2
name:                  finitary-derive
-- PVP summary:        +-+------- breaking API changes
--                     | | +----- non-breaking API additions
--                     | | | +--- code changes with no API change
version:               1.0.0.0
synopsis:              Easy and efficient Unbox, Storable, Binary and Hashable
                       instances for Finitary types.
description:           Provides a wrapper with pre-made instances of Unbox,
                       Storable, Binary and Hashable, suitable for use with types that
                       have Finitary instances. Never write Unbox by hand again!
homepage:              https://notabug.org/koz.ross/finitary-derive
license:               GPL-3.0-or-later
license-file:          LICENSE.md
author:                Koz Ross
maintainer:            koz.ross@retro-freedom.nz
copyright:             (C) Koz Ross 2019
category:              Data
tested-with:           GHC == 8.4.4,
                       GHC == 8.6.5,
                       GHC == 8.8.1
build-type:            Simple
extra-source-files:    CHANGELOG.md,
                       README.md

library
  exposed-modules:     Data.Finitary.Pack
  build-depends:       base >= 4.11 && < 4.14,
                       finitary >= 1.0.0.0 && < 1.1.0.0,
                       vector >= 0.12.0.3 && < 0.13.0.0,
                       coercible-utils >= 0.0.0 && < 0.1.0,
                       finite-typelits >= 0.1.4.2 && < 0.2.0.0,
                       binary >= 0.8.5.1 && < 0.9.0.0,
                       deepseq >= 1.4.3.0 && < 1.5.0.0,
                       hashable >= 1.3.0.0 && < 1.4.0.0,
                       ghc-typelits-extra >= 0.3.1 && < 0.4.0,
                       ghc-typelits-knownnat >= 0.7 && < 0.8,
                       mtl >= 2.2.2 && < 2.3,
                       vector-sized >= 1.4.0.0 && < 1.5.0.0
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite tests
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  hs-source-dirs:      test
  build-depends:       base,
                       hedgehog >= 1.0.1 && < 1.1,
                       hedgehog-classes >= 0.2.4 && < 0.3.0,
                       finitary-derive,
                       finitary,
                       finite-typelits,
                       monad-loops >= 0.4.3 && < 0.5.0
  default-language:    Haskell2010