haskell-relational-record/relational-record-examples/relational-record-examples.cabal

110 lines
3.4 KiB
Plaintext

name: relational-record-examples
version: 0.5.0.0
synopsis: Examples of Haskell Relationa Record
description: Provides examples of Haskell Relational Record
license: BSD3
license-file: LICENSE
author: Kazu Yamamoto <kazu@iij.ad.jp>
Shohei Murayama <shohei.murayama@gmail.com>
maintainer: Shohei Murayama <shohei.murayama@gmail.com>
category: Database
build-type: Simple
cabal-version: >=1.10
extra-source-files: sql/3.7.1.sh
sql/3.7.3.sh
sql/3.7.sh
sql/4.1.2.sh
sql/4.3.2.sh
sql/4.3.3a.sh
sql/4.3.3b.sh
sql/4.3.3c.sh
sql/5.1.2a.sh
sql/5.1.3.sh
sql/5.3a.sh
sql/6.4.1a.sh
sql/8.1a.sh
sql/add.sql
sql/sql-memo
examples.db
flag binary
description: building binary, too
default: False
manual: True
library
hs-source-dirs: lib
exposed-modules:
Database.Relational.Query.SQLite3
Database.Record.TH.SQLite3
hs-source-dirs: entity
exposed-modules:
Account
Branch
Business
Customer
Department
Employee
Individual
Officer
Product
ProductType
Transaction
build-depends: base < 5
, HDBC
, HDBC-session
, HDBC-sqlite3
, persistable-record >= 0.6
, relational-query >= 0.11
, relational-query-HDBC >= 0.6.5
, template-haskell
-- not link directly but query type map
, relational-schemas >= 0.1.5
if impl(ghc == 7.4.*)
build-depends: ghc-prim == 0.2.*
default-language: Haskell2010
ghc-options: -Wall
executable examples
if impl(ghc >= 8.0) && flag(binary)
buildable: True
else
buildable: False
hs-source-dirs: src
main-is: examples.hs
build-depends: base < 5
, product-isomorphic >= 0.0.3
, relational-query >= 0.11
, relational-record-examples
, template-haskell
, time
if impl(ghc == 7.4.*)
build-depends: ghc-prim == 0.2.*
default-language: Haskell2010
ghc-options: -Wall
executable specialized-examples
if flag(binary)
buildable: True
else
buildable: False
hs-source-dirs: src
main-is: specializedExamples.hs
build-depends: base < 5
, product-isomorphic >= 0.0.3
, relational-query >= 0.11
, relational-record-examples
, template-haskell
, time
if impl(ghc == 7.4.*)
build-depends: ghc-prim == 0.2.*
default-language: Haskell2010
ghc-options: -Wall