finitary-derive.cabal 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. cabal-version: 2.2
  2. name: finitary-derive
  3. -- PVP summary: +-+------- breaking API changes
  4. -- | | +----- non-breaking API additions
  5. -- | | | +--- code changes with no API change
  6. version: 2.2.0.0
  7. synopsis: Flexible and easy deriving of type classes for finitary
  8. types.
  9. description: Provides a collection of wrappers, allowing you to easily
  10. define (among others) Unbox, Storable, Hashable and
  11. Binary instances for finitary types with flexibility in
  12. terms of representation and efficiency. Never write an
  13. Unbox instance by hand again!
  14. homepage: https://notabug.org/koz.ross/finitary-derive
  15. license: GPL-3.0-or-later
  16. license-file: LICENSE.md
  17. author: Koz Ross
  18. maintainer: koz.ross@retro-freedom.nz
  19. copyright: (C) Koz Ross 2019
  20. category: Data
  21. tested-with: GHC == 8.4.4,
  22. GHC == 8.6.5,
  23. GHC == 8.8.1
  24. build-type: Simple
  25. extra-source-files: CHANGELOG.md,
  26. README.md
  27. library
  28. exposed-modules: Data.Finitary.Finiteness,
  29. Data.Finitary.PackBits,
  30. Data.Finitary.PackBits.Unsafe,
  31. Data.Finitary.PackBytes,
  32. Data.Finitary.PackWords,
  33. Data.Finitary.PackInto
  34. build-depends: base >= 4.11 && < 4.14,
  35. finitary >= 1.2.0.0 && < 1.3.0.0,
  36. vector >= 0.12.0.3 && < 0.13.0.0,
  37. coercible-utils >= 0.0.0 && < 0.1.0,
  38. finite-typelits >= 0.1.4.2 && < 0.2.0.0,
  39. binary >= 0.8.5.1 && < 0.9.0.0,
  40. deepseq >= 1.4.3.0 && < 1.5.0.0,
  41. hashable >= 1.3.0.0 && < 1.4.0.0,
  42. ghc-typelits-extra >= 0.3.1 && < 0.4.0,
  43. ghc-typelits-knownnat >= 0.7 && < 0.8,
  44. vector-instances >= 3.4 && < 3.5,
  45. transformers >= 0.5.5.0 && < 0.6.0.0,
  46. bitvec >= 1.0.2.0 && < 1.1.0.0,
  47. vector-binary-instances >= 0.2.5.1 && < 0.3.0.0
  48. hs-source-dirs: src
  49. default-language: Haskell2010
  50. test-suite tests
  51. type: exitcode-stdio-1.0
  52. main-is: Main.hs
  53. ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
  54. hs-source-dirs: test
  55. build-depends: base >= 4.12 && < 4.14,
  56. hedgehog >= 1.0.1 && < 1.1,
  57. hedgehog-classes >= 0.2.4 && < 0.3.0,
  58. finitary-derive,
  59. finitary,
  60. finite-typelits,
  61. hashable,
  62. binary,
  63. deepseq
  64. default-language: Haskell2010