persistent-mongoDB.cabal 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. name: persistent-mongoDB
  2. version: 2.8.0
  3. license: MIT
  4. license-file: LICENSE
  5. author: Greg Weber <greg@gregweber.info>
  6. maintainer: Greg Weber <greg@gregweber.info>
  7. synopsis: Backend for the persistent library using mongoDB.
  8. category: Database
  9. stability: Experimental
  10. cabal-version: >= 1.10
  11. build-type: Simple
  12. homepage: http://www.yesodweb.com/book/persistent
  13. bug-reports: https://github.com/yesodweb/persistent/issues
  14. description: MongoDB backend for the persistent library.
  15. extra-source-files: ChangeLog.md
  16. Flag high_precision_date
  17. Description: for MongoDB use a time storage with nano second precision.
  18. Default: False
  19. library
  20. build-depends: base >= 4.8 && < 5
  21. , persistent >= 2.8 && < 3
  22. , aeson >= 1.0
  23. , bson >= 0.3.2 && < 0.4
  24. , bytestring
  25. , cereal >= 0.5
  26. , conduit >= 1.2
  27. , http-api-data >= 0.3.7 && < 0.5
  28. , mongoDB >= 2.3
  29. , network >= 2.6
  30. , path-pieces >= 0.2
  31. , resource-pool >= 0.2 && < 0.3
  32. , resourcet >= 1.1
  33. , text >= 1.2
  34. , time
  35. , transformers >= 0.5
  36. , unliftio-core
  37. exposed-modules: Database.Persist.MongoDB
  38. ghc-options: -Wall
  39. default-language: Haskell2010
  40. if flag(high_precision_date)
  41. cpp-options: -DHIGH_PRECISION_DATE
  42. test-suite test
  43. type: exitcode-stdio-1.0
  44. main-is: main.hs
  45. hs-source-dirs: test
  46. other-modules: MongoInit
  47. EmbedTestMongo
  48. EntityEmbedTestMongo
  49. RawMongoHelpers
  50. ghc-options: -Wall
  51. build-depends: base >= 4.6 && < 5
  52. , persistent
  53. , persistent-mongoDB
  54. , persistent-qq
  55. , persistent-template
  56. , persistent-test
  57. , blaze-html
  58. , bytestring
  59. , containers
  60. , hspec >= 2.4.0
  61. , HUnit
  62. , mongoDB
  63. , process
  64. , QuickCheck
  65. , template-haskell
  66. , text
  67. , time
  68. , transformers
  69. , unliftio-core
  70. if impl(ghc < 8)
  71. build-depends:
  72. semigroups
  73. default-language: Haskell2010
  74. source-repository head
  75. type: git
  76. location: git://github.com/yesodweb/persistent.git