hasql/hasql.cabal

195 lines
5.5 KiB
Plaintext
Raw Normal View History

2014-08-03 17:48:18 +04:00
name:
2014-10-18 00:03:02 +04:00
hasql
2014-08-03 17:48:18 +04:00
version:
2015-11-22 10:10:21 +03:00
0.13
2015-11-08 21:09:42 +03:00
category:
Hasql, Database, PostgreSQL
2014-08-03 17:48:18 +04:00
synopsis:
2015-11-08 21:09:42 +03:00
A very efficient PostgreSQL driver and a flexible mapping API
2014-08-03 17:48:18 +04:00
description:
2015-11-08 21:09:42 +03:00
This package is the root of the \"hasql\" ecosystem.
2015-11-22 10:10:21 +03:00
.
The API is completely disinfected from exceptions. All error-reporting is explicit and is presented using the 'Either' type.
2014-08-03 17:48:18 +04:00
homepage:
2014-10-18 00:03:02 +04:00
https://github.com/nikita-volkov/hasql
2014-08-03 17:48:18 +04:00
bug-reports:
2014-10-18 00:03:02 +04:00
https://github.com/nikita-volkov/hasql/issues
2014-08-03 17:48:18 +04:00
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
(c) 2014, Nikita Volkov
license:
MIT
license-file:
LICENSE
build-type:
2015-11-21 09:39:09 +03:00
Simple
2014-08-03 17:48:18 +04:00
cabal-version:
>=1.10
source-repository head
type:
git
location:
2014-10-18 00:03:02 +04:00
git://github.com/nikita-volkov/hasql.git
2014-08-03 17:48:18 +04:00
library
hs-source-dirs:
library
2014-10-28 15:02:44 +03:00
ghc-options:
default-extensions:
2015-11-22 08:34:01 +03:00
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
2014-10-28 15:02:44 +03:00
default-language:
Haskell2010
2014-08-03 17:48:18 +04:00
other-modules:
2014-10-18 00:03:02 +04:00
Hasql.Prelude
2015-11-08 21:09:42 +03:00
Hasql.PTI
Hasql.IO
Hasql.Commands
2015-11-21 13:36:01 +03:00
Hasql.Decoding.Array
Hasql.Decoding.Composite
Hasql.Decoding.Value
Hasql.Decoding.Row
Hasql.Decoding.Result
Hasql.Decoding.Results
Hasql.Encoding.Array
Hasql.Encoding.Value
Hasql.Encoding.Params
2015-11-08 21:09:42 +03:00
Hasql.PreparedStatementRegistry
2015-11-22 10:10:21 +03:00
Hasql.Connection.Impl
2014-08-03 17:48:18 +04:00
exposed-modules:
2015-11-21 13:36:01 +03:00
Hasql.Decoding
Hasql.Encoding
2015-11-22 10:10:21 +03:00
Hasql.Settings
Hasql.Connection
Hasql.Query
2014-08-03 17:48:18 +04:00
build-depends:
2015-11-08 21:09:42 +03:00
-- parsing:
2015-05-15 08:05:49 +03:00
attoparsec >= 0.10 && < 0.14,
2015-11-08 21:09:42 +03:00
-- database:
2015-11-10 17:53:14 +03:00
postgresql-binary >= 0.7.3 && < 0.8,
2015-11-08 21:09:42 +03:00
postgresql-libpq == 0.9.*,
-- data:
dlist >= 0.7 && < 0.8,
aeson >= 0.7 && < 0.11,
uuid == 1.3.*,
vector >= 0.10 && < 0.12,
time >= 1.4 && < 1.6,
hashtables >= 1.1 && < 1.3,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
hashable >= 1.2 && < 1.3,
-- control:
data-default-class >= 0.0.1 && < 0.1,
profunctors >= 5.1 && < 6,
2015-11-21 15:30:14 +03:00
contravariant-extras == 0.3.*,
2015-11-08 21:09:42 +03:00
contravariant >= 1.3 && < 2,
either >= 4.4.1 && < 5,
transformers >= 0.3 && < 0.5,
2015-11-08 21:09:42 +03:00
-- errors:
loch-th == 0.2.*,
placeholders == 0.1.*,
-- general:
base-prelude >= 0.1.19 && < 0.2,
base >= 4.6 && < 5
2014-10-28 15:00:42 +03:00
2015-11-15 12:13:45 +03:00
-- Note that this test-suite is supposed to be single-threaded.
-- Hence the absense of the appropriate GHC flags.
2015-11-10 21:19:41 +03:00
test-suite tasty
type:
2014-11-23 19:54:11 +03:00
exitcode-stdio-1.0
hs-source-dirs:
2015-11-10 21:19:41 +03:00
tasty
main-is:
2014-11-23 19:54:11 +03:00
Main.hs
2015-11-15 12:13:45 +03:00
other-modules:
Main.DSL
Main.Queries
Main.Prelude
2014-11-23 19:54:11 +03:00
default-extensions:
2015-11-22 08:34:01 +03:00
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
2014-11-23 19:54:11 +03:00
default-language:
Haskell2010
build-depends:
2015-11-08 21:09:42 +03:00
-- database:
2014-11-29 14:48:14 +03:00
hasql,
2015-11-08 21:09:42 +03:00
-- testing:
2015-11-10 21:19:41 +03:00
tasty == 0.11.*,
tasty-quickcheck == 0.8.*,
tasty-smallcheck == 0.8.*,
tasty-hunit == 0.9.*,
2015-11-08 21:09:42 +03:00
quickcheck-instances >= 0.3.11 && < 0.4,
QuickCheck >= 2.8.1 && < 2.9,
2015-11-10 21:19:41 +03:00
-- data:
2015-11-15 12:13:45 +03:00
uuid,
time,
scientific,
bytestring,
text,
vector,
hashable,
dlist,
2015-11-08 21:09:42 +03:00
-- general:
2015-11-15 12:13:45 +03:00
data-default-class,
profunctors,
contravariant,
contravariant-extras,
either,
2015-11-10 21:19:41 +03:00
transformers,
base-prelude,
base
2014-11-23 19:54:11 +03:00
2015-11-16 22:06:47 +03:00
benchmark benchmark
type:
exitcode-stdio-1.0
hs-source-dirs:
benchmark
main-is:
Main.hs
other-modules:
Main.Queries
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
2015-11-20 07:18:09 +03:00
ghc-prof-options:
-O2
-threaded
-fprof-auto
"-with-rtsopts=-N -p -s -h -i0.1"
2015-11-16 22:06:47 +03:00
default-extensions:
2015-11-22 08:34:01 +03:00
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
2015-11-16 22:06:47 +03:00
default-language:
Haskell2010
build-depends:
hasql,
-- benchmarking:
criterion == 1.1.*,
-- data:
uuid,
time,
scientific,
bytestring,
text,
vector,
hashable,
dlist,
-- general:
deepseq >= 1 && < 2,
2015-11-16 22:06:47 +03:00
data-default-class,
profunctors,
contravariant,
contravariant-extras,
either,
transformers,
base-prelude,
base