finitary-derive.cabal 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. cabal-version: 2.2
  2. name: finitary-derive
  3. version: 3.0.0.0
  4. synopsis:
  5. Flexible and easy deriving of type classes for finitary
  6. types.
  7. description:
  8. Provides a collection of wrappers, allowing you to easily
  9. define (among others) Unbox, Storable, Hashable and
  10. Binary instances for finitary types with flexibility in
  11. terms of representation and efficiency. Never write an
  12. Unbox instance by hand again!
  13. homepage: https://notabug.org/koz.ross/finitary-derive
  14. license: GPL-3.0-or-later
  15. license-file: LICENSE.md
  16. author: Koz Ross
  17. maintainer: koz.ross@retro-freedom.nz
  18. copyright: (C) Koz Ross 2019
  19. category: Data
  20. tested-with: GHC ==8.6.5 || ==8.8.3 || ==8.10.1
  21. build-type: Simple
  22. extra-source-files:
  23. CHANGELOG.md
  24. README.md
  25. library
  26. exposed-modules:
  27. Data.Finitary.Finiteness
  28. Data.Finitary.PackBits
  29. Data.Finitary.PackBits.Unsafe
  30. Data.Finitary.PackBytes
  31. Data.Finitary.PackInto
  32. Data.Finitary.PackWords
  33. other-modules: Data.Finitary.Internal
  34. build-depends:
  35. , base >=4.12 && <5
  36. , binary ^>=0.8.8.0
  37. , bitvec ^>=1.0.3.0
  38. , deepseq ^>=1.4.4.0
  39. , finitary ^>=2.0.0.0
  40. , finite-typelits ^>=0.1.4.2
  41. , ghc-typelits-extra ^>=0.4
  42. , ghc-typelits-knownnat ^>=0.7.2
  43. , hashable ^>=1.3.0.0
  44. , transformers ^>=0.5.6.2
  45. , vector ^>=0.12.1.2
  46. , vector-binary-instances ^>=0.2.5.1
  47. , vector-instances ^>=3.4
  48. hs-source-dirs: src
  49. ghc-options:
  50. -Wall -Wcompat -Wincomplete-record-updates
  51. -Wincomplete-uni-patterns -Wredundant-constraints -Werror
  52. default-language: Haskell2010
  53. test-suite tests
  54. type: exitcode-stdio-1.0
  55. main-is: Main.hs
  56. other-modules:
  57. Data.Finitary.Finiteness
  58. Data.Finitary.Internal
  59. Data.Finitary.PackBits
  60. Data.Finitary.PackBits.Unsafe
  61. Data.Finitary.PackBytes
  62. Data.Finitary.PackInto
  63. Data.Finitary.PackWords
  64. build-depends:
  65. , base
  66. , binary
  67. , bitvec
  68. , deepseq
  69. , finitary
  70. , finite-typelits
  71. , ghc-typelits-extra
  72. , ghc-typelits-knownnat
  73. , hashable
  74. , hedgehog ^>=1.0.2
  75. , hedgehog-classes ^>=0.2.4.1
  76. , transformers
  77. , vector
  78. , vector-binary-instances
  79. , vector-instances
  80. ghc-options:
  81. -O2 -threaded -rtsopts -with-rtsopts=-N -Wall -Wcompat
  82. -Wincomplete-uni-patterns -Wredundant-constraints -Werror
  83. hs-source-dirs: test src
  84. default-language: Haskell2010