-- Initial graphql-w-persistent.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ -- The name of the package. name: graphql-w-persistent -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- https://wiki.haskell.org/Package_versioning_policy -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.9.1.0 -- A short (one-line) description of the package. synopsis: GraphQL interface middleware for SQL databases. -- A longer description of the package. description: This is an application of GraphQL to querying SQL databases. The package functions are to interpret GraphQL string queries, to make SQL queries, and to process list-style database-returned values into a GraphQL string output (which you may use with another program). The data processing functions are designed for the Persistent library return values, but any (Eq a) => [[a]] returned type is valid input to this library if translations (and a check for null value) are provided for data types (Text, Int64, Double, and Boolean). Prospect packages are the odbc package (with the query function) and HDBC package (with the quickQuery function). You may find another to suit your stack. Examples and applications are available at the homepage (GitHub). I would like a star while you are there. -- URL for the project homepage or repository. homepage: https://github.com/jasonsychau/graphql-w-persistent -- The license under which the package is released. license: ISC -- The file containing the license text. license-file: LICENSE -- The package author(s). author: JASON CHAU -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: jasonsychau@live.ca -- A copyright notice. -- copyright: category: Development, Database, Graphs, Language, Data build-type: Simple -- Extra files to be distributed with the package, such as examples or a -- README. extra-source-files: ChangeLog.md -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10 tested-with: GHC >=8.2.2 && <=8.8.4 stability: provisional bug-reports: https://github.com/jasonsychau/graphql-w-persistent/issues -- source-repository head -- type: git -- location: git://github.com/jasonsychau/graphql-w-persistent.git library -- Modules exported by the library. exposed-modules: GraphQLdbi -- Modules included in this library but not exported. other-modules: Components.DataProcessors.ListDataProcessor, Components.ObjectHandlers.ObjectsHandler, Components.ObjectHandlers.ServerObjectInspector, Components.ObjectHandlers.ServerObjectTrimmer, Components.Parsers.VariablesParser, Components.Parsers.ServerSchemaJsonParser, Components.Parsers.QueryParser, Components.QueryComposers.SQLQueryComposer, Components.Util Model.ServerObjectTypes, Model.ServerExceptions -- LANGUAGE extensions used by modules in this package. --other-extensions: -- Other library packages from which modules are imported. build-depends: base >=4.10.1.0 && <4.14, containers >=0.5 && <0.7, json >=0.9.1 && <0.11, text >=1.2 && <1.3 -- Directories containing source files. hs-source-dirs: src -- Base language which the package is written in. default-language: Haskell2010