File: persistable-record.cabal

package info (click to toggle)
haskell-persistable-record 0.6.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 136 kB
  • sloc: haskell: 703; makefile: 4
file content (74 lines) | stat: -rw-r--r-- 2,761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name:                persistable-record
version:             0.6.0.4
synopsis:            Binding between SQL database values and haskell records.
description:         This package contiains types to represent table constraints and
                     interfaces to bind between SQL database values and Haskell records.
homepage:            http://khibino.github.io/haskell-relational-record/
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2013-2017 Kei Hibino
category:            Database
build-type:          Simple
cabal-version:       >=1.10
tested-with:           GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3
                     , GHC == 8.2.1, GHC == 8.2.2
                     , GHC == 8.0.1, GHC == 8.0.2
                     , GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3
                     , GHC == 7.8.1, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4
                     , GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3
                     , GHC == 7.4.1, GHC == 7.4.2
extra-source-files:  ChangeLog.md

library
  exposed-modules:
                        Database.Record.FromSql
                        Database.Record.ToSql
                        Database.Record.Persistable
                        Database.Record.TupleInstances
                        Database.Record.Instances
                        Database.Record.KeyConstraint
                        Database.Record
                        Database.Record.TH

  other-modules:
                        Database.Record.InternalTH

  build-depends:          base <5
                        , template-haskell
                        , th-data-compat
                        , product-isomorphic >= 0.0.3
                        , array
                        , containers
                        , transformers
                        , dlist
                        , names-th
  if impl(ghc == 7.4.*)
    build-depends:        ghc-prim == 0.2.*

  hs-source-dirs:       src
  ghc-options:          -Wall
  default-language:     Haskell2010

test-suite nested
  build-depends:          base <5
                        , quickcheck-simple
                        , persistable-record
  if impl(ghc == 7.4.*)
    build-depends:        ghc-prim == 0.2.*

  type:                 exitcode-stdio-1.0
  main-is:              nestedEq.hs
  other-modules:        Model
  hs-source-dirs:       test
  ghc-options:          -Wall
  default-language:     Haskell2010

source-repository head
  type:       git
  location:   https://github.com/khibino/haskell-relational-record

source-repository head
  type:       mercurial
  location:   https://bitbucket.org/khibino/haskell-relational-record