Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2019-04-07T09:23:46Z
- Loading branch information
1 parent
eefc327
commit 43edd19
Showing
4 changed files
with
238 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
name: persistent-sqlite | ||
version: 2.9.3 | ||
license: MIT | ||
license-file: LICENSE | ||
author: Michael Snoyman <michael@snoyman.com> | ||
maintainer: Michael Snoyman <michael@snoyman.com> | ||
synopsis: Backend for the persistent library using sqlite3. | ||
description: This package includes a thin sqlite3 wrapper based on the direct-sqlite package, as well as the entire C library, so there are no system dependencies. | ||
category: Database, Yesod | ||
stability: Stable | ||
cabal-version: >= 1.8 | ||
build-type: Simple | ||
homepage: http://www.yesodweb.com/book/persistent | ||
bug-reports: https://github.com/yesodweb/persistent/issues | ||
extra-source-files: ChangeLog.md cbits/*.c cbits/*.h | ||
|
||
flag systemlib | ||
description: Use the system-wide sqlite library | ||
default: False | ||
flag use-pkgconfig | ||
description: Use pkg-config to find system sqlite library | ||
default: False | ||
flag build-sanity-exe | ||
description: Build a sanity check test executable | ||
default: False | ||
flag full-text-search | ||
description: Enable full-text search in the vendored SQLite library; has no effect if a system SQLite library is used. | ||
default: True | ||
flag uri-filenames | ||
description: Enable URI filenames in the vendored SQLite library; has no effect if a system SQLite library is used. | ||
default: True | ||
flag have-usleep | ||
description: Enable usleep in the vendored SQLite library; has no effect if a system SQLite library is used. | ||
default: True | ||
flag json1 | ||
description: Enable json1 in the vendored SQLite library; has no effect if a system SQLite library is used. | ||
default: True | ||
|
||
library | ||
build-depends: base >= 4.8 && < 5 | ||
, bytestring >= 0.9.1 | ||
, transformers >= 0.2.1 | ||
, persistent >= 2.9 && < 3 | ||
, unliftio-core | ||
, containers >= 0.2 | ||
, text >= 0.7 | ||
, aeson >= 0.6.2 | ||
, conduit >= 1.2.8 | ||
, monad-logger >= 0.2.4 | ||
, microlens-th >= 0.4.1.1 | ||
, resourcet >= 1.1 | ||
, time | ||
, old-locale | ||
, resource-pool | ||
, unordered-containers | ||
exposed-modules: Database.Sqlite | ||
Database.Persist.Sqlite | ||
ghc-options: -Wall | ||
if flag(systemlib) | ||
if flag(use-pkgconfig) | ||
pkgconfig-depends: sqlite3 | ||
else | ||
extra-libraries: sqlite3 | ||
else | ||
c-sources: cbits/sqlite3.c | ||
include-dirs: cbits | ||
cc-options: -fPIC -std=c99 | ||
if flag(full-text-search) | ||
cc-options: -DSQLITE_ENABLE_FTS3 | ||
-DSQLITE_ENABLE_FTS3_PARENTHESIS | ||
-DSQLITE_ENABLE_FTS4 | ||
-DSQLITE_ENABLE_FTS5 | ||
if flag(uri-filenames) | ||
cc-options: -DSQLITE_USE_URI | ||
if flag(have-usleep) | ||
cc-options: -DHAVE_USLEEP | ||
if flag(json1) | ||
cc-options: -DSQLITE_ENABLE_JSON1 | ||
|
||
c-sources: cbits/config.c | ||
|
||
if !os(windows) | ||
extra-libraries: pthread | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/yesodweb/persistent.git | ||
|
||
|
||
test-suite test | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
hs-source-dirs: test | ||
build-depends: base | ||
, hspec | ||
, persistent | ||
, persistent-sqlite | ||
, persistent-template | ||
, temporary | ||
, text | ||
, time | ||
, transformers | ||
|
||
executable sanity | ||
if flag(build-sanity-exe) | ||
buildable: True | ||
else | ||
buildable: False | ||
main-is: sanity.hs | ||
hs-source-dirs: test | ||
build-depends: base, persistent-sqlite, monad-logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"b8e2bf6b96486e83b13779f5a475d13e","Skein512_512":"3872f135583b600e3b2eb3c560873356cf058000195ff71abf0adea8bf75282282b023bf8eaaf6d32c5adc5ff3cfec6f903df498f65f875f34e31bb025e1a198","SHA1":"f272d2298b4e79c6bce862327394180f0423dbcf","SHA512":"0b31fecbe5486a94b2242f58e529165e646c0dd64d9f8283dd84c6cbde9c0b90f94a730f4443ecb128b9f21a2e94b34d47d12402c6b9d063b6e6eb928c2a46c1","SHA256":"985b9f7323e88f784ff93dd6f5bc65cb0183435dea052a5d238dec1e11b28b8f"},"package-locations":["https://hackage.haskell.org/package/persistent-sqlite-2.9.3/persistent-sqlite-2.9.3.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/persistent-sqlite-2.9.3.tar.gz"],"package-size":2169817} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
name: persistent | ||
version: 2.9.2 | ||
license: MIT | ||
license-file: LICENSE | ||
author: Michael Snoyman <michael@snoyman.com> | ||
maintainer: Michael Snoyman <michael@snoyman.com>, Greg Weber <greg@gregweber.info> | ||
synopsis: Type-safe, multi-backend data serialization. | ||
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/persistent>. | ||
category: Database, Yesod | ||
stability: Stable | ||
cabal-version: >= 1.8 | ||
build-type: Simple | ||
homepage: http://www.yesodweb.com/book/persistent | ||
bug-reports: https://github.com/yesodweb/persistent/issues | ||
extra-source-files: ChangeLog.md README.md | ||
|
||
flag nooverlap | ||
default: False | ||
description: test out our assumption that OverlappingInstances is just for String | ||
|
||
library | ||
if flag(nooverlap) | ||
cpp-options: -DNO_OVERLAP | ||
|
||
build-depends: base >= 4.8 && < 5 | ||
, bytestring >= 0.9 | ||
, transformers >= 0.2.1 | ||
, time >= 1.1.4 | ||
, old-locale | ||
, text >= 0.8 | ||
, containers >= 0.2 | ||
, conduit >= 1.2.8 | ||
, resourcet >= 1.1.10 | ||
, resource-pool >= 0.2.2.0 | ||
, path-pieces >= 0.1 | ||
, http-api-data >= 0.2 | ||
, aeson >= 0.5 | ||
, monad-logger >= 0.3.28 | ||
, base64-bytestring | ||
, unordered-containers | ||
, vector | ||
, attoparsec | ||
, template-haskell | ||
, blaze-html >= 0.5 | ||
, blaze-markup >= 0.5.1 | ||
, silently | ||
, mtl | ||
, fast-logger >= 2.1 | ||
, scientific | ||
, tagged | ||
, unliftio-core | ||
, void | ||
|
||
exposed-modules: Database.Persist | ||
Database.Persist.Quasi | ||
|
||
Database.Persist.Types | ||
Database.Persist.Class | ||
Database.Persist.Sql | ||
Database.Persist.Sql.Util | ||
Database.Persist.Sql.Types.Internal | ||
|
||
other-modules: Database.Persist.Types.Base | ||
Database.Persist.Class.DeleteCascade | ||
Database.Persist.Class.PersistEntity | ||
Database.Persist.Class.PersistQuery | ||
Database.Persist.Class.PersistUnique | ||
Database.Persist.Class.PersistConfig | ||
Database.Persist.Class.PersistField | ||
Database.Persist.Class.PersistStore | ||
|
||
Database.Persist.Sql.Migration | ||
Database.Persist.Sql.Internal | ||
Database.Persist.Sql.Types | ||
Database.Persist.Sql.Raw | ||
Database.Persist.Sql.Run | ||
Database.Persist.Sql.Class | ||
Database.Persist.Sql.Orphan.PersistQuery | ||
Database.Persist.Sql.Orphan.PersistStore | ||
Database.Persist.Sql.Orphan.PersistUnique | ||
|
||
ghc-options: -Wall | ||
|
||
test-suite test | ||
type: exitcode-stdio-1.0 | ||
main-is: test/main.hs | ||
|
||
build-depends: base >= 4.8 && < 5 | ||
, hspec >= 1.3 | ||
, containers | ||
, text | ||
, unordered-containers | ||
, time | ||
, old-locale | ||
, bytestring | ||
, vector | ||
, base64-bytestring | ||
, attoparsec | ||
, transformers | ||
, path-pieces | ||
, http-api-data | ||
, aeson | ||
, resourcet | ||
, monad-logger | ||
, conduit | ||
, monad-control | ||
, blaze-html | ||
, scientific | ||
, tagged | ||
, fast-logger >= 2.1 | ||
, mtl | ||
, template-haskell | ||
, resource-pool | ||
|
||
cpp-options: -DTEST | ||
|
||
other-modules: Database.Persist.Class.PersistEntity | ||
Database.Persist.Class.PersistField | ||
Database.Persist.Quasi | ||
Database.Persist.Types | ||
Database.Persist.Types.Base | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/yesodweb/persistent.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"3a9db02d0dd8f6840a0287abc56b48ec","Skein512_512":"608a3ccdb4fd0f7b313a41f91fdf5ed5580f83d578008cbdeb5b8b195d821154206167458f8e6fafb027dce1ad985a92279be6ff488733369b8d8c9e567614dc","SHA1":"67c80a160fa6a0dcbed61a9b130be7e032ac26d6","SHA512":"02bff4213da5c95316344100a74bb1731abacb0751986e15041f2001d620daf0e1af86637ed9e544253197172f223f1c1e7e4fd20f000a612cc4c05903809de1","SHA256":"497e5d2c96aaa370f147ece995a798d1ea217e35996f908d42681f41ec1c4af3"},"package-locations":["https://hackage.haskell.org/package/persistent-2.9.2/persistent-2.9.2.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/persistent-2.9.2.tar.gz"],"package-size":61772} |