cabal-version: 2.4
name: beam-large-records
version: 0.1.4
synopsis: Integration of large-records with beam-core.
description: This package provides the necessary instances that make
it possible to use records defined with large-records as
beam database tables or beam databases.
bug-reports: https://github.com/well-typed/beam-large-records/issues
license: BSD-3-Clause
author: Edsko de Vries
maintainer: edsko@well-typed.com
category: Database
extra-doc-files: CHANGELOG.md
tested-with: GHC ==8.10.7
GHC ==9.0.2
GHC ==9.2.8
GHC ==9.4.8
GHC ==9.6.7
GHC ==9.8.4
GHC ==9.10.2
GHC ==9.12.2
GHC ==9.14.1
source-repository head
type: git
location: https://github.com/well-typed/beam-large-records
library
exposed-modules:
Data.Record.Beam
other-modules:
Data.Record.Beam.Constraints
Data.Record.Beam.DbSettings
Data.Record.Beam.FromBackendRow
Data.Record.Beam.Lenses
Data.Record.Beam.Internal
Data.Record.Beam.Interpretation
Data.Record.Beam.Skeleton
Data.Record.Beam.ZipDatabase
Data.Record.Beam.ZipTables
build-depends:
base >= 4.14 && < 4.24
, large-generics >= 0.2 && < 0.3
, microlens >= 0.4 && < 0.6
-- lower bound on beam-core is necessary
-- see https://github.com/haskell-beam/beam/issues/585
, beam-core >= 0.11 && < 0.12
hs-source-dirs:
src
default-language:
Haskell2010
ghc-options:
-Wall
-Wredundant-constraints
-Wunused-packages
-fmax-refinement-hole-fits=0
-- The proxying from GHC generics to LR generics needs orphans
-Wno-orphans
test-suite test-beam-large-records
type:
exitcode-stdio-1.0
main-is:
TestBeamLargeRecords.hs
other-modules:
Test.Record.Beam.Andres
Test.Record.Beam.SimpleSQL
Test.Record.Beam.Tutorial1
Test.Record.Beam.Tutorial2
Test.Record.Beam.Tutorial3
Test.Record.Beam.Zipping
Test.Record.Beam.Util.Compat
Test.Record.Beam.Util.Orphans
Test.Record.Beam.Util.SQLite
hs-source-dirs:
test
default-language:
Haskell2010
other-extensions:
TemplateHaskell
build-depends:
base
, beam-core
, beam-large-records
, beam-sqlite >=0.7 && <0.8
, large-records
, record-hasfield
, sqlite-simple
, tasty
, tasty-hunit
, text
, time
-- dependencies needed when using large-records
-- (cannot enable -Wunused-packages for tihs reason)
, ghc-prim
, large-generics
, record-hasfield
, optics-core
ghc-options:
-Wall
-Wredundant-constraints
-fmax-refinement-hole-fits=0