cabal-version: 1.12
name: generic-persistence
version: 0.2.0.0
license: BSD3
license-file: LICENSE
copyright: 2023 Thomas Mahler
maintainer: thma@apache.org
author: Thomas Mahler
tested-with: ghc ==9.2.5 ghc ==9.0.2 ghc ==8.10.7
homepage: https://github.com/githubuser/generic-persistence#readme
bug-reports: https://github.com/githubuser/generic-persistence/issues
synopsis: Database persistence using generics
description:
Please see the README on GitHub at <https://github.com/githubuser/generic-persistence#readme>
category: Database
build-type: Simple
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/githubuser/generic-persistence
library
exposed-modules:
Database.GP
Database.GP.Entity
Database.GP.GenericPersistence
Database.GP.RecordtypeReflection
Database.GP.SqlGenerator
Database.GP.TypeInfo
hs-source-dirs: src
other-modules: Paths_generic_persistence
default-language: GHC2021
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wmissing-export-lists
-Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
HDBC <2.5,
HDBC-sqlite3 <2.4,
base >=4.7 && <5,
bytestring <0.12,
convertible <1.2,
exceptions <0.11,
ghc <9.3,
ghc-prim <0.9,
rio <0.2,
syb <0.8,
text <1.3,
time <1.12,
transformers <0.6
executable generic-persistence-demo
main-is: Main.hs
hs-source-dirs: app
other-modules: Paths_generic_persistence
default-language: GHC2021
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wmissing-export-lists
-Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
-threaded -rtsopts -with-rtsopts=-N
build-depends:
HDBC <2.5,
HDBC-sqlite3 <2.4,
base >=4.7 && <5,
bytestring <0.12,
convertible <1.2,
exceptions <0.11,
generic-persistence,
ghc <9.3,
ghc-prim <0.9,
rio <0.2,
syb <0.8,
text <1.3,
time <1.12,
transformers <0.6
test-suite generic-persistence-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
EmbeddedSpec
EnumSpec
GenericPersistenceSpec
OneToManySpec
ReferenceSpec
Paths_generic_persistence
default-language: GHC2021
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wmissing-export-lists
-Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
-threaded -rtsopts -with-rtsopts=-N
build-depends:
HDBC <2.5,
HDBC-sqlite3 <2.4,
QuickCheck <2.15,
base >=4.7 && <5,
bytestring <0.12,
convertible <1.2,
exceptions <0.11,
generic-persistence,
ghc <9.3,
ghc-prim <0.9,
hspec <2.10,
hspec-discover <2.10,
rio <0.2,
syb <0.8,
text <1.3,
time <1.12,
transformers <0.6