cabal-version: 2.4 -- The name of the package. name: poseidon -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- https://pvp.haskell.org -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.1.1.0 -- A short (one-line) description of the package. synopsis: Simple extensible library to run SQL file against PostgreSQL database. -- A longer description of the package. description: Poseidon provides a Simple and Extensible access to PostgreSQL. . Simple: Poseidon runs a SQL query and returns a set of custom datatype. **It is not an ORM.** . Extensible: As a user of the library, you can map your custom PostgreSQL type to your Haskell datatype easily, in a pluggable way (e.g. if you're using postgis, you will be most likely interested by poseidon-postgis, that maps GeoJSON WKT to GeospatialGeometry). -- URL for the project homepage or repository. homepage: https://github.com/FlogFr/poseidon -- A URL where users can report bugs. bug-reports: https://github.com/FlogFr/poseidon/issues -- The license under which the package is released. license: BSD-3-Clause -- The file containing the license text. license-file: LICENSE -- The package author(s). author: Florian Grignon -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: grignon.florian@gmail.com -- A copyright notice. -- copyright: category: Database, PostgreSQL -- Extra files to be distributed with the package, such as examples or a -- README. extra-source-files: CHANGELOG.md library -- Modules exported by the library. exposed-modules: Data.Poseidon Database.Poseidon Database.Poseidon.Internal -- Modules included in this library but not exported. -- other-modules: -- LANGUAGE extensions used by modules in this package. -- other-extensions: ghc-options: -Wall -- Other library packages from which modules are imported. build-depends: async >=2.2.2 && <2.3 , aeson >=1.4.5.0 && <1.5 , base >=4.12.0.0 && <5 , binary >=0.8.6.0 && <0.9 , binary-bits >=0.5 && <0.6 , bytestring >=0.10.8.2 && <0.11 , generics-eot >=0.4 && <0.5 , postgresql-libpq >=0.9.4 && <0.10 , random >=1.1 && <1.2 , scientific >=0.3.6.2 && <0.4 , text >=1.2 && <1.3 , time >=1.9 && <1.10 , unordered-containers >=0.2.10.0 && <0.3 , uuid >=1.3 && <1.14 -- Directories containing source files. hs-source-dirs: . -- Base language which the package is written in. default-language: Haskell2010 test-suite tests type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: tests main-is: Tests.hs ghc-options: -Wall -threaded -rtsopts build-depends: aeson >=1.4.5.0 && <1.5 , bytestring >=0.10.8.2 && <0.11 , base >=4.12.0.0 && <5 , hspec >=2.7.1 && <2.8 , QuickCheck >= 2.10.0.1 && < 2.14 , poseidon , text >=1.2 && <1.3 , time >=1.9 && <1.10 , scientific >=0.3.6.2 && <0.4 , postgresql-libpq >=0.9.4 && <0.10 , unordered-containers >=0.2.10.0 && <0.3 , uuid >=1.3 && <1.14 source-repository head type: git location: git://github.com/FlogFr/poseidon.git