finitary.cabal 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. cabal-version: 2.2
  2. name: finitary
  3. version: 2.0.0.0
  4. synopsis: A better, more type-safe Enum.
  5. description:
  6. Provides a type class witnessing that a type has
  7. finitely-many inhabitants, as well as its cardinality.
  8. Also provides an auto-deriving framework using GHC
  9. Generics, together with a range of instances for existing
  10. types.
  11. homepage: https://notabug.org/koz.ross/finitary
  12. bug-reports: https://notabug.org/koz.ross/finitary/issues
  13. license: GPL-3.0-or-later
  14. license-file: LICENSE.md
  15. author: Koz Ross
  16. maintainer: koz.ross@retro-freedom.nz
  17. copyright: (C) Koz Ross 2019-2020
  18. category: Data
  19. build-type: Simple
  20. tested-with: GHC ==8.6.5 || ==8.8.3 || ==8.10.1
  21. extra-source-files:
  22. CHANGELOG.md
  23. README.md
  24. LICENSE.md
  25. source-repository head
  26. type: git
  27. location: git://notabug.org/koz.ross/finitary.git
  28. library
  29. exposed-modules: Data.Finitary
  30. other-modules: Data.Finitary.TH
  31. build-depends:
  32. , base >=4.12 && <5
  33. , bitvec ^>=1.0.3.0
  34. , finite-typelits ^>=0.1.4.2
  35. , ghc-typelits-knownnat ^>=0.7.2
  36. , ghc-typelits-natnormalise ^>=0.7.2
  37. , primitive ^>=0.7.0.1
  38. , template-haskell >=2.14.0.0 && <3.0.0.0
  39. , typelits-witnesses ^>=0.4.0.0
  40. , vector ^>=0.12.1.2
  41. , vector-sized ^>=1.4.1.0
  42. hs-source-dirs: src
  43. ghc-options:
  44. -Wall -Wcompat -Wincomplete-record-updates
  45. -Wincomplete-uni-patterns -Wredundant-constraints
  46. default-language: Haskell2010
  47. test-suite tests
  48. type: exitcode-stdio-1.0
  49. main-is: Main.hs
  50. other-modules:
  51. Data.Finitary
  52. Data.Finitary.TH
  53. build-depends:
  54. , base
  55. , bitvec
  56. , finite-typelits
  57. , ghc-typelits-knownnat
  58. , ghc-typelits-natnormalise
  59. , hedgehog ^>=1.0.2
  60. , hspec ^>=2.7.1
  61. , hspec-hedgehog ^>=0.0.1.2
  62. , primitive
  63. , template-haskell
  64. , typelits-witnesses
  65. , vector
  66. , vector-sized
  67. hs-source-dirs: test src
  68. ghc-options:
  69. -Wall -Wcompat -Wincomplete-record-updates
  70. -Wincomplete-uni-patterns -Wredundant-constraints -O2 -threaded
  71. -with-rtsopts=-N
  72. default-language: Haskell2010