finitary.cabal 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. cabal-version: 2.2
  2. name: finitary
  3. -- PVP summary: +-+------- breaking API changes
  4. -- | | +----- non-breaking API additions
  5. -- | | | +--- code changes with no API change
  6. version: 1.2.0.0
  7. synopsis: A better, more type-safe Enum.
  8. description: Provides a type class witnessing that a type has
  9. finitely-many inhabitants, as well as its cardinality.
  10. Also provides an auto-deriving framework using GHC
  11. Generics, together with a range of instances for existing
  12. types.
  13. homepage: https://notabug.org/koz.ross/finitary
  14. bug-reports: https://notabug.org/koz/ross/finitary/issues
  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. build-type: Simple
  22. tested-with: GHC == 8.8.1,
  23. GHC == 8.6.5,
  24. GHC == 8.4.4,
  25. GHC == 8.2.2
  26. extra-source-files: CHANGELOG.md,
  27. README.md,
  28. LICENSE.md
  29. source-repository head
  30. type: git
  31. location: git://notabug.org/koz.ross/finitary.git
  32. library
  33. exposed-modules: Data.Finitary
  34. other-modules: Data.Finitary.TH
  35. build-depends: base >= 4.10 && < 4.14,
  36. finite-typelits >= 0.1.4.2 && < 0.2.0.0,
  37. coercible-utils >= 0.0.0 && < 1.0.0,
  38. ghc-typelits-knownnat >= 0.7 && < 0.8,
  39. ghc-typelits-natnormalise >= 0.7 && < 0.8,
  40. vector-sized >= 1.4.0.0 && < 1.5.0.0,
  41. template-haskell >= 2.12.0.0 && < 2.16.0.0,
  42. bitvec >= 1.0.0.1 && < 1.2.0.0,
  43. primitive >= 0.6.4.0 && < 0.8.0.0,
  44. vector >= 0.12.0.3 && < 0.13.0.0,
  45. typelits-witnesses >= 0.4.0.0 && < 0.5.0.0
  46. hs-source-dirs: src
  47. default-language: Haskell2010
  48. test-suite tests
  49. type: exitcode-stdio-1.0
  50. main-is: Main.hs
  51. hs-source-dirs: test
  52. ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
  53. build-depends: base,
  54. hedgehog >= 1.0.1 && < 1.2,
  55. finitary,
  56. finite-typelits,
  57. vector-sized,
  58. monad-loops >= 0.4.3 && < 0.5.0,
  59. bitvec
  60. default-language: Haskell2010