diff --git a/.restyled.yaml b/.restyled.yaml index ab8e3cab0..bd52f3d67 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -1,4 +1,5 @@ restylers: + - cabal-fmt - fourmolu - stylish-haskell: enabled: false diff --git a/flake.nix b/flake.nix index 552b93a71..35689ff58 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ shell = { tools = { cabal = "latest"; + cabal-fmt = "latest"; cabal-install = "latest"; fourmolu = "latest"; ghcid = "latest"; diff --git a/persistent-mongoDB/persistent-mongoDB.cabal b/persistent-mongoDB/persistent-mongoDB.cabal index 4c8fcc2c7..25364d10a 100644 --- a/persistent-mongoDB/persistent-mongoDB.cabal +++ b/persistent-mongoDB/persistent-mongoDB.cabal @@ -1,78 +1,82 @@ -name: persistent-mongoDB -version: 2.13.1.0 -license: MIT -license-file: LICENSE -author: Greg Weber -maintainer: Andres Schmois -synopsis: Backend for the persistent library using mongoDB. -category: Database -stability: Experimental -cabal-version: >= 1.10 -build-type: Simple -homepage: http://www.yesodweb.com/book/persistent -bug-reports: https://github.com/yesodweb/persistent/issues -description: MongoDB backend for the persistent library. +name: persistent-mongoDB +version: 2.13.1.0 +license: MIT +license-file: LICENSE +author: Greg Weber +maintainer: Andres Schmois +synopsis: Backend for the persistent library using mongoDB. +category: Database +stability: Experimental +cabal-version: >=1.10 +build-type: Simple +homepage: http://www.yesodweb.com/book/persistent +bug-reports: https://github.com/yesodweb/persistent/issues +description: MongoDB backend for the persistent library. extra-source-files: ChangeLog.md -Flag high_precision_date - Description: for MongoDB use a time storage with nano second precision. - Default: False +flag high_precision_date + description: for MongoDB use a time storage with nano second precision. + default: False library - build-depends: base >= 4.8 && < 5 - , persistent >= 2.12 && < 3 - , aeson >= 1.0 - , bson >= 0.3.2 && < 0.5 - , bytestring - , cereal >= 0.5 - , conduit >= 1.2 - , http-api-data >= 0.3.7 && < 0.7 - , mongoDB >= 2.7.1.2 && < 2.8 - , network >= 2.6 - , path-pieces >= 0.2 - , resource-pool >= 0.2 && < 0.5 - , resourcet >= 1.1 - , text >= 1.2 - , time - , transformers >= 0.5 - , unliftio-core + build-depends: + aeson >=1.0 + , base >=4.8 && <5 + , bson >=0.3.2 && <0.5 + , bytestring + , cereal >=0.5 + , conduit >=1.2 + , http-api-data >=0.3.7 && <0.7 + , mongoDB >=2.7.1.2 && <2.8 + , network >=2.6 + , path-pieces >=0.2 + , persistent >=2.12 && <3 + , resource-pool >=0.2 && <0.5 + , resourcet >=1.1 + , text >=1.2 + , time + , transformers >=0.5 + , unliftio-core - exposed-modules: Database.Persist.MongoDB - ghc-options: -Wall - default-language: Haskell2010 + exposed-modules: Database.Persist.MongoDB + ghc-options: -Wall + default-language: Haskell2010 - if flag(high_precision_date) - cpp-options: -DHIGH_PRECISION_DATE + if flag(high_precision_date) + cpp-options: -DHIGH_PRECISION_DATE test-suite test - type: exitcode-stdio-1.0 - main-is: main.hs - hs-source-dirs: test - other-modules: MongoInit - EmbedTestMongo - EntityEmbedTestMongo - RawMongoHelpers - ghc-options: -Wall + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + other-modules: + EmbedTestMongo + EntityEmbedTestMongo + MongoInit + RawMongoHelpers - build-depends: base >= 4.6 && < 5 - , persistent - , persistent-mongoDB - , persistent-qq - , persistent-test - , blaze-html - , bytestring - , containers - , hspec >= 2.4.0 - , HUnit - , mongoDB - , process - , QuickCheck - , template-haskell - , text - , time - , transformers - , unliftio-core - default-language: Haskell2010 + ghc-options: -Wall + build-depends: + base >=4.6 && <5 + , blaze-html + , bytestring + , containers + , hspec >=2.4.0 + , HUnit + , mongoDB + , persistent + , persistent-mongoDB + , persistent-qq + , persistent-test + , process + , QuickCheck + , template-haskell + , text + , time + , transformers + , unliftio-core + + default-language: Haskell2010 source-repository head type: git diff --git a/persistent-mysql/persistent-mysql.cabal b/persistent-mysql/persistent-mysql.cabal index 22ee04803..edaedcca3 100644 --- a/persistent-mysql/persistent-mysql.cabal +++ b/persistent-mysql/persistent-mysql.cabal @@ -1,89 +1,95 @@ -name: persistent-mysql -version: 2.13.1.5 -license: MIT -license-file: LICENSE -author: Felipe Lessa , Michael Snoyman -maintainer: Felipe Lessa -synopsis: Backend for the persistent library using MySQL database server. -category: Database, Yesod -stability: Stable -cabal-version: >= 1.10 -build-type: Simple -homepage: http://www.yesodweb.com/book/persistent -bug-reports: https://github.com/yesodweb/persistent/issues +name: persistent-mysql +version: 2.13.1.5 +license: MIT +license-file: LICENSE +author: Felipe Lessa , Michael Snoyman +maintainer: Felipe Lessa +synopsis: + Backend for the persistent library using MySQL database server. + +category: Database, Yesod +stability: Stable +cabal-version: >=1.10 +build-type: Simple +homepage: http://www.yesodweb.com/book/persistent +bug-reports: https://github.com/yesodweb/persistent/issues description: - This package contains a backend for persistent using the - MySQL database server. Internally it uses the @mysql-simple@ - and @mysql@ packages in order to access the database. - . - This package supports only MySQL 5.1 and above. However, it - has been tested only on MySQL 5.5. - Only the InnoDB storage engine is officially supported. - . - Known problems: - . - * This package does not support statements inside other - statements. + This package contains a backend for persistent using the + MySQL database server. Internally it uses the @mysql-simple@ + and @mysql@ packages in order to access the database. + . + This package supports only MySQL 5.1 and above. However, it + has been tested only on MySQL 5.5. + Only the InnoDB storage engine is officially supported. + . + Known problems: + . + * This package does not support statements inside other + statements. + extra-source-files: ChangeLog.md library - build-depends: base >= 4.9 && < 5 - , persistent >= 2.13.3 && < 3 - , aeson >= 1.0 - , blaze-builder - , bytestring >= 0.10.8 - , conduit >= 1.2.12 - , containers >= 0.5 - , monad-logger - , mysql >= 0.2.1 && < 0.3 - , mysql-simple >= 0.4.7 && < 0.5 - , resourcet >= 1.1 - , resource-pool - , text >= 1.2 - , transformers >= 0.5 - , unliftio-core - exposed-modules: Database.Persist.MySQL - ghc-options: -Wall - default-language: Haskell2010 + build-depends: + aeson >=1.0 + , base >=4.9 && <5 + , blaze-builder + , bytestring >=0.10.8 + , conduit >=1.2.12 + , containers >=0.5 + , monad-logger + , mysql >=0.2.1 && <0.3 + , mysql-simple >=0.4.7 && <0.5 + , persistent >=2.13.3 && <3 + , resource-pool + , resourcet >=1.1 + , text >=1.2 + , transformers >=0.5 + , unliftio-core + + exposed-modules: Database.Persist.MySQL + ghc-options: -Wall + default-language: Haskell2010 source-repository head type: git location: https://github.com/yesodweb/persistent.git test-suite test - type: exitcode-stdio-1.0 - main-is: main.hs - hs-source-dirs: test - other-modules: - MyInit - InsertDuplicateUpdate - CustomConstraintTest - ImplicitUuidSpec - JSONTest - ghc-options: -Wall + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + other-modules: + CustomConstraintTest + ImplicitUuidSpec + InsertDuplicateUpdate + JSONTest + MyInit + + ghc-options: -Wall + build-depends: + aeson + , base >=4.9 && <5 + , bytestring + , conduit + , containers + , fast-logger + , hspec >=2.4 + , http-api-data + , HUnit + , monad-logger + , mysql + , path-pieces + , persistent + , persistent-mysql + , persistent-qq + , persistent-test + , QuickCheck + , quickcheck-instances + , resourcet + , text + , time + , transformers + , unliftio-core - build-depends: - base >= 4.9 && < 5 - , aeson - , bytestring - , containers - , conduit - , fast-logger - , hspec >= 2.4 - , http-api-data - , HUnit - , monad-logger - , mysql - , path-pieces - , persistent - , persistent-mysql - , persistent-qq - , persistent-test - , QuickCheck - , quickcheck-instances - , resourcet - , text - , time - , transformers - , unliftio-core - default-language: Haskell2010 + default-language: Haskell2010 diff --git a/persistent-postgresql/persistent-postgresql.cabal b/persistent-postgresql/persistent-postgresql.cabal index 1bd29eadb..300ac4c81 100644 --- a/persistent-postgresql/persistent-postgresql.cabal +++ b/persistent-postgresql/persistent-postgresql.cabal @@ -1,108 +1,116 @@ -name: persistent-postgresql -version: 2.13.6.2 -license: MIT -license-file: LICENSE -author: Felipe Lessa, Michael Snoyman -maintainer: Michael Snoyman -synopsis: Backend for the persistent library using postgresql. -description: Based on the postgresql-simple package -category: Database, Yesod -stability: Stable -cabal-version: >= 1.10 -build-type: Simple -homepage: http://www.yesodweb.com/book/persistent -bug-reports: https://github.com/yesodweb/persistent/issues +name: persistent-postgresql +version: 2.13.6.2 +license: MIT +license-file: LICENSE +author: Felipe Lessa, Michael Snoyman +maintainer: Michael Snoyman +synopsis: Backend for the persistent library using postgresql. +description: Based on the postgresql-simple package +category: Database, Yesod +stability: Stable +cabal-version: >=1.10 +build-type: Simple +homepage: http://www.yesodweb.com/book/persistent +bug-reports: https://github.com/yesodweb/persistent/issues extra-source-files: ChangeLog.md library - build-depends: base >= 4.9 && < 5 - , persistent >= 2.13.3 && < 3 - , aeson >= 1.0 - , attoparsec - , blaze-builder - , bytestring >= 0.10 - , conduit >= 1.2.12 - , containers >= 0.5 - , monad-logger >= 0.3.25 - , mtl - , postgresql-simple >= 0.6.1 && < 0.8 - , postgresql-libpq >= 0.9.4.2 && < 0.12 - , resourcet >= 1.1.9 - , resource-pool - , string-conversions - , text >= 1.2 - , time >= 1.6 - , transformers >= 0.5 - , unliftio-core - , vault - exposed-modules: Database.Persist.Postgresql - , Database.Persist.Postgresql.Internal - , Database.Persist.Postgresql.JSON - ghc-options: -Wall - default-language: Haskell2010 + build-depends: + aeson >=1.0 + , attoparsec + , base >=4.9 && <5 + , blaze-builder + , bytestring >=0.10 + , conduit >=1.2.12 + , containers >=0.5 + , monad-logger >=0.3.25 + , mtl + , persistent >=2.13.3 && <3 + , postgresql-libpq >=0.9.4.2 && <0.12 + , postgresql-simple >=0.6.1 && <0.8 + , resource-pool + , resourcet >=1.1.9 + , string-conversions + , text >=1.2 + , time >=1.6 + , transformers >=0.5 + , unliftio-core + , vault + + exposed-modules: + Database.Persist.Postgresql + Database.Persist.Postgresql.Internal + Database.Persist.Postgresql.JSON + + ghc-options: -Wall + default-language: Haskell2010 source-repository head type: git location: https://github.com/yesodweb/persistent.git test-suite test - type: exitcode-stdio-1.0 - main-is: main.hs - hs-source-dirs: test - other-modules: PgInit - ArrayAggTest - EquivalentTypeTestPostgres - JSONTest - CustomConstraintTest - PgIntervalTest - UpsertWhere - ImplicitUuidSpec - MigrationReferenceSpec - ghc-options: -Wall + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + other-modules: + ArrayAggTest + CustomConstraintTest + EquivalentTypeTestPostgres + ImplicitUuidSpec + JSONTest + MigrationReferenceSpec + PgInit + PgIntervalTest + UpsertWhere - build-depends: base >= 4.9 && < 5 - , persistent - , persistent-postgresql - , persistent-qq - , persistent-test - , aeson - , bytestring - , containers - , fast-logger - , HUnit - , hspec >= 2.4 - , hspec-expectations - , hspec-expectations-lifted - , monad-logger - , QuickCheck - , quickcheck-instances - , resourcet - , text - , time - , transformers - , path-pieces - , http-api-data - , unliftio-core - , unliftio - , unordered-containers - , vector - default-language: Haskell2010 + ghc-options: -Wall + build-depends: + aeson + , base >=4.9 && <5 + , bytestring + , containers + , fast-logger + , hspec >=2.4 + , hspec-expectations + , hspec-expectations-lifted + , http-api-data + , HUnit + , monad-logger + , path-pieces + , persistent + , persistent-postgresql + , persistent-qq + , persistent-test + , QuickCheck + , quickcheck-instances + , resourcet + , text + , time + , transformers + , unliftio + , unliftio-core + , unordered-containers + , vector + + default-language: Haskell2010 executable conn-kill - buildable: False - main-is: Main.hs - hs-source-dirs: conn-killed - ghc-options: -threaded - build-depends: - base - , persistent-postgresql - , monad-logger - , text - , unliftio - , time - , transformers - , persistent - , bytestring - , resource-pool - , mtl - default-language: Haskell2010 + buildable: False + main-is: Main.hs + hs-source-dirs: conn-killed + ghc-options: -threaded + build-depends: + base + , bytestring + , monad-logger + , mtl + , persistent + , persistent-postgresql + , resource-pool + , text + , time + , transformers + , unliftio + + default-language: Haskell2010 diff --git a/persistent-qq/persistent-qq.cabal b/persistent-qq/persistent-qq.cabal index 14b3e03f8..5192bfe68 100644 --- a/persistent-qq/persistent-qq.cabal +++ b/persistent-qq/persistent-qq.cabal @@ -1,67 +1,68 @@ -cabal-version: 1.12 -name: persistent-qq -version: 2.12.0.6 -synopsis: Provides a quasi-quoter for raw SQL for persistent -description: Please see README and API docs at . -category: Database, Yesod -homepage: https://github.com/yesodweb/persistent#readme -bug-reports: https://github.com/yesodweb/persistent/issues -author: Michael Snoyman -maintainer: Michael Snoyman -license: MIT -license-file: LICENSE -build-type: Simple +cabal-version: 1.12 +name: persistent-qq +version: 2.12.0.6 +synopsis: Provides a quasi-quoter for raw SQL for persistent +description: + Please see README and API docs at . + +category: Database, Yesod +homepage: https://github.com/yesodweb/persistent#readme +bug-reports: https://github.com/yesodweb/persistent/issues +author: Michael Snoyman +maintainer: Michael Snoyman +license: MIT +license-file: LICENSE +build-type: Simple extra-source-files: - ChangeLog.md - README.md + ChangeLog.md + README.md source-repository head - type: git + type: git location: https://github.com/yesodweb/persistent library - exposed-modules: - Database.Persist.Sql.Raw.QQ - other-modules: - Paths_persistent_qq - hs-source-dirs: - src - ghc-options: -Wall + exposed-modules: Database.Persist.Sql.Raw.QQ + other-modules: Paths_persistent_qq + hs-source-dirs: src + ghc-options: -Wall build-depends: - base >=4.9 && <5 + base >=4.9 && <5 , haskell-src-meta , mtl - , persistent >=2.12 + , persistent >=2.12 , template-haskell , text + default-language: Haskell2010 test-suite specs - type: exitcode-stdio-1.0 - main-is: Spec.hs + type: exitcode-stdio-1.0 + main-is: Spec.hs other-modules: - PersistentTestModels - PersistTestPetCollarType - PersistTestPetType - CodeGenTest - hs-source-dirs: - test - ghc-options: -Wall + CodeGenTest + PersistentTestModels + PersistTestPetCollarType + PersistTestPetType + + hs-source-dirs: test + ghc-options: -Wall build-depends: - HUnit - , aeson + aeson , base + , bytestring , fast-logger , haskell-src-meta , hspec + , HUnit , monad-logger , mtl - , persistent >=2.14 + , persistent >=2.14 , persistent-qq , persistent-sqlite , resourcet , template-haskell , text , unliftio - , bytestring + default-language: Haskell2010 diff --git a/persistent-redis/persistent-redis.cabal b/persistent-redis/persistent-redis.cabal index 223ae87b9..3af09824f 100644 --- a/persistent-redis/persistent-redis.cabal +++ b/persistent-redis/persistent-redis.cabal @@ -1,74 +1,78 @@ -name: persistent-redis -version: 2.13.0.2 -license: BSD3 -license-file: LICENSE -author: Pavel Ryzhov -synopsis: Backend for persistent library using Redis. -description: Based on the Redis package. -category: Database -stability: Experimental -cabal-version: >= 1.10 -maintainer: Pavel Ryzhov -build-type: Simple -bug-reports: https://github.com/yesodweb/persistent/issues +name: persistent-redis +version: 2.13.0.2 +license: BSD3 +license-file: LICENSE +author: Pavel Ryzhov +synopsis: Backend for persistent library using Redis. +description: Based on the Redis package. +category: Database +stability: Experimental +cabal-version: >=1.10 +maintainer: Pavel Ryzhov +build-type: Simple +bug-reports: https://github.com/yesodweb/persistent/issues source-repository head - type: git - location: https://github.com/yesodweb/persistent.git + type: git + location: https://github.com/yesodweb/persistent.git library - build-depends: base >= 4.9 && < 5 - , persistent >= 2.12 && < 3.0 - , aeson >= 1.0 - , binary >= 0.8 && < 0.9 - , bytestring >= 0.10.8 && < 0.13 - , hedis >= 0.9 - , http-api-data - , mtl >= 2.2.1 && < 2.4 - , path-pieces >= 0.2 - , scientific >= 0.3.5 && < 0.4 - , text >= 1.2 - , time >= 1.6 - , transformers >= 0.5 - , utf8-string >= 1.0 && < 1.1 + build-depends: + aeson >=1.0 + , base >=4.9 && <5 + , binary >=0.8 && <0.9 + , bytestring >=0.10.8 && <0.13 + , hedis >=0.9 + , http-api-data + , mtl >=2.2.1 && <2.4 + , path-pieces >=0.2 + , persistent >=2.12 && <3.0 + , scientific >=0.3.5 && <0.4 + , text >=1.2 + , time >=1.6 + , transformers >=0.5 + , utf8-string >=1.0 && <1.1 - exposed-modules: Database.Persist.Redis + exposed-modules: Database.Persist.Redis + other-modules: + Database.Persist.Redis.Config + Database.Persist.Redis.Exception + Database.Persist.Redis.Internal + Database.Persist.Redis.Parser + Database.Persist.Redis.Store + Database.Persist.Redis.Update - other-modules: Database.Persist.Redis.Config - Database.Persist.Redis.Exception - Database.Persist.Redis.Internal - Database.Persist.Redis.Parser - Database.Persist.Redis.Store - Database.Persist.Redis.Update + ghc-options: -Wall + default-language: Haskell2010 - ghc-options: -Wall - default-language: Haskell2010 +test-suite basic + type: exitcode-stdio-1.0 + main-is: tests/basic-test.hs + build-depends: + aeson + , base + , binary + , bytestring + , hedis + , http-api-data + , mtl + , path-pieces + , persistent + , persistent-redis + , scientific + , template-haskell + , text + , time + , transformers + , utf8-string -test-suite basic - type: exitcode-stdio-1.0 - main-is: tests/basic-test.hs - build-depends: base - , persistent - , persistent-redis - , aeson - , bytestring - , binary - , hedis - , http-api-data - , mtl - , path-pieces - , scientific - , template-haskell - , text - , time - , transformers - , utf8-string + other-modules: + Database.Persist.Redis + Database.Persist.Redis.Config + Database.Persist.Redis.Exception + Database.Persist.Redis.Internal + Database.Persist.Redis.Parser + Database.Persist.Redis.Store + Database.Persist.Redis.Update - other-modules: Database.Persist.Redis - Database.Persist.Redis.Config - Database.Persist.Redis.Internal - Database.Persist.Redis.Store - Database.Persist.Redis.Parser - Database.Persist.Redis.Update - Database.Persist.Redis.Exception - default-language: Haskell2010 + default-language: Haskell2010 diff --git a/persistent-sqlite/persistent-sqlite.cabal b/persistent-sqlite/persistent-sqlite.cabal index 589a7ce6d..5670ced49 100644 --- a/persistent-sqlite/persistent-sqlite.cabal +++ b/persistent-sqlite/persistent-sqlite.cabal @@ -1,146 +1,187 @@ -name: persistent-sqlite -version: 2.13.3.0 -license: MIT -license-file: LICENSE -author: Michael Snoyman -maintainer: Michael Snoyman -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.10 -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 +name: persistent-sqlite +version: 2.13.3.0 +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman +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.10 +build-type: Simple +homepage: http://www.yesodweb.com/book/persistent +bug-reports: https://github.com/yesodweb/persistent/issues +extra-source-files: + cbits/*.c + cbits/*.h + ChangeLog.md flag systemlib description: Use the system-wide sqlite library - default: False + default: False + flag use-pkgconfig description: Use pkg-config to find system sqlite library - default: False + default: False + flag build-sanity-exe description: Build a sanity check test executable - default: False + 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 + 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 + 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 + 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 + description: + Enable json1 in the vendored SQLite library; has no effect if a system SQLite library is used. + + default: True + flag use-stat3 - description: This flag is now a no-op, as the corresponding SQLite option is now a no-op; has no effect if a system SQLite library is used. - default: False + description: + This flag is now a no-op, as the corresponding SQLite option is now a no-op; has no effect if a system SQLite library is used. + + default: False + flag use-stat4 - description: Enable STAT4 in the vendored SQLite library (supercedes stat3); has no effect if a system SQLite library is used. - default: True + description: + Enable STAT4 in the vendored SQLite library (supercedes stat3); has no effect if a system SQLite library is used. + + default: True library - build-depends: base >= 4.9 && < 5 - , persistent >= 2.13.3 && < 3 - , aeson >= 1.0 - , bytestring >= 0.10 - , conduit >= 1.2.12 - , containers >= 0.5 - , microlens-th >= 0.4.1.1 - , monad-logger >= 0.3.25 - , mtl - , resource-pool - , resourcet >= 1.1.9 - , text >= 1.2 - , time - , transformers >= 0.5 - , unliftio-core - , unordered-containers - exposed-modules: Database.Sqlite - Database.Sqlite.Internal - Database.Persist.Sqlite - ghc-options: -Wall - default-language: Haskell2010 - if flag(systemlib) - if flag(use-pkgconfig) - pkgconfig-depends: sqlite3 - else - extra-libraries: sqlite3 + build-depends: + aeson >=1.0 + , base >=4.9 && <5 + , bytestring >=0.10 + , conduit >=1.2.12 + , containers >=0.5 + , microlens-th >=0.4.1.1 + , monad-logger >=0.3.25 + , mtl + , persistent >=2.13.3 && <3 + , resource-pool + , resourcet >=1.1.9 + , text >=1.2 + , time + , transformers >=0.5 + , unliftio-core + , unordered-containers + + exposed-modules: + Database.Persist.Sqlite + Database.Sqlite + Database.Sqlite.Internal + + ghc-options: -Wall + default-language: Haskell2010 + + if flag(systemlib) + if flag(use-pkgconfig) + pkgconfig-depends: sqlite3 + else - c-sources: cbits/sqlite3.c - include-dirs: cbits - includes: sqlite3.h - install-includes: sqlite3.h - 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 - if flag(use-stat4) - cc-options: -DSQLITE_ENABLE_STAT4 - - c-sources: cbits/config.c - - if !os(windows) - extra-libraries: pthread + extra-libraries: sqlite3 + + else + c-sources: cbits/sqlite3.c + include-dirs: cbits + includes: sqlite3.h + install-includes: sqlite3.h + 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 + + if flag(use-stat4) + cc-options: -DSQLITE_ENABLE_STAT4 + + c-sources: cbits/config.c + + if !os(windows) + extra-libraries: pthread source-repository head type: git location: https://github.com/yesodweb/persistent.git 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 - default-language: Haskell2010 + if flag(build-sanity-exe) + buildable: True + + else + buildable: False + + main-is: sanity.hs + hs-source-dirs: test + build-depends: + base + , monad-logger + , persistent-sqlite + + default-language: Haskell2010 test-suite test - type: exitcode-stdio-1.0 - main-is: main.hs - hs-source-dirs: test - other-modules: - SqliteInit - Database.Persist.Sqlite.CompositeSpec - ghc-options: -Wall - - build-depends: base >= 4.9 && < 5 - , persistent - , persistent-sqlite - , persistent-test - , bytestring - , containers - , conduit - , exceptions - , fast-logger - , hspec >= 2.4 - , HUnit - , microlens - , monad-logger - , mtl - , QuickCheck - , resourcet - , system-fileio - , system-filepath - , temporary - , text - , time - , transformers - , time - , unliftio-core - default-language: Haskell2010 + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + other-modules: + Database.Persist.Sqlite.CompositeSpec + SqliteInit + + ghc-options: -Wall + build-depends: + base >=4.9 && <5 + , bytestring + , conduit + , containers + , exceptions + , fast-logger + , hspec >=2.4 + , HUnit + , microlens + , monad-logger + , mtl + , persistent + , persistent-sqlite + , persistent-test + , QuickCheck + , resourcet + , system-fileio + , system-filepath + , temporary + , text + , time + , transformers + , unliftio-core + + default-language: Haskell2010 diff --git a/persistent-template/persistent-template.cabal b/persistent-template/persistent-template.cabal index ba0ddcc1e..e573fd1d6 100644 --- a/persistent-template/persistent-template.cabal +++ b/persistent-template/persistent-template.cabal @@ -1,24 +1,30 @@ -name: persistent-template -version: 2.12.0.0 -license: MIT -license-file: LICENSE -author: Michael Snoyman -maintainer: Michael Snoyman , Greg Weber -synopsis: Type-safe, non-relational, multi-backend persistence. -description: Hackage documentation generation is not reliable. For up to date documentation, please see: . -category: Database, Yesod -stability: Stable -cabal-version: >= 1.10 -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 +name: persistent-template +version: 2.12.0.0 +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: + Michael Snoyman , Greg Weber + +synopsis: Type-safe, non-relational, multi-backend persistence. +description: + Hackage documentation generation is not reliable. For up to date documentation, please see: . + +category: Database, Yesod +stability: Stable +cabal-version: >=1.10 +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 library - build-depends: base >= 4.10 && < 5 - exposed-modules: - ghc-options: -Wall - default-language: Haskell2010 + build-depends: base >=4.10 && <5 + exposed-modules: + ghc-options: -Wall + default-language: Haskell2010 source-repository head type: git diff --git a/persistent-test/persistent-test.cabal b/persistent-test/persistent-test.cabal index 9ebf63ab6..2353b3b63 100644 --- a/persistent-test/persistent-test.cabal +++ b/persistent-test/persistent-test.cabal @@ -1,108 +1,109 @@ -name: persistent-test -version: 2.13.1.3 -license: MIT -license-file: LICENSE -author: Michael Snoyman -maintainer: Michael Snoyman -synopsis: Tests for Persistent -description: Tests for Persistent. This is only for use in developing libraries that should conform to the persistent interface, not for users of the persistent suite of database libraries. -category: Database, Yesod -stability: Stable -cabal-version: >= 1.10 -build-type: Simple -homepage: http://www.yesodweb.com/book/persistent -bug-reports: https://github.com/yesodweb/persistent/issues +name: persistent-test +version: 2.13.1.3 +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman +synopsis: Tests for Persistent +description: + Tests for Persistent. This is only for use in developing libraries that should conform to the persistent interface, not for users of the persistent suite of database libraries. + +category: Database, Yesod +stability: Stable +cabal-version: >=1.10 +build-type: Simple +homepage: http://www.yesodweb.com/book/persistent +bug-reports: https://github.com/yesodweb/persistent/issues extra-source-files: ChangeLog.md library - exposed-modules: - CompositeTest - CustomPersistField - CustomPersistFieldTest - CustomPrimaryKeyReferenceTest - DataTypeTest - EmbedTest - EmbedOrderTest - EmptyEntityTest - EntityEmbedTest - EquivalentTypeTest - ForeignKey - HtmlTest - Init - LargeNumberTest - MaxLenTest - MaybeFieldDefsTest - MigrationColumnLengthTest - MigrationIdempotencyTest - MigrationOnlyTest - MigrationTest - MpsNoPrefixTest - MpsCustomPrefixTest - PersistentTest - PersistentTestModels - PersistentTestModelsImports - GeneratedColumnTestSQL - PersistTestPetType - PersistTestPetCollarType - PersistUniqueTest - PrimaryTest - RawSqlTest - ReadWriteTest - RenameTest - Recursive - SumTypeTest - TransactionLevelTest - TreeTest - TypeLitFieldDefsTest - UniqueTest - UpsertTest - LongIdentifierTest - - hs-source-dirs: src + exposed-modules: + CompositeTest + CustomPersistField + CustomPersistFieldTest + CustomPrimaryKeyReferenceTest + DataTypeTest + EmbedOrderTest + EmbedTest + EmptyEntityTest + EntityEmbedTest + EquivalentTypeTest + ForeignKey + GeneratedColumnTestSQL + HtmlTest + Init + LargeNumberTest + LongIdentifierTest + MaxLenTest + MaybeFieldDefsTest + MigrationColumnLengthTest + MigrationIdempotencyTest + MigrationOnlyTest + MigrationTest + MpsCustomPrefixTest + MpsNoPrefixTest + PersistentTest + PersistentTestModels + PersistentTestModelsImports + PersistTestPetCollarType + PersistTestPetType + PersistUniqueTest + PrimaryTest + RawSqlTest + ReadWriteTest + Recursive + RenameTest + SumTypeTest + TransactionLevelTest + TreeTest + TypeLitFieldDefsTest + UniqueTest + UpsertTest - build-depends: - base >= 4.9 && < 5 - , aeson >= 1.0 - , blaze-html >= 0.9 - , bytestring >= 0.10 - , conduit >= 1.2.12 - , containers >= 0.5 - , exceptions >= 0.8 - , hspec >= 2.4 - , hspec-expectations - , http-api-data - , HUnit - , monad-control - , monad-logger >= 0.3.25 - , mtl - , path-pieces >= 0.2 - , persistent >= 2.14 && < 2.16 - , QuickCheck >= 2.9 - , quickcheck-instances >= 0.3 - , random >= 1.1 - , resourcet >= 1.1 - , text >= 1.2 - , time >= 1.6 - , transformers >= 0.5 - , transformers-base - , unliftio - , unliftio-core - , unordered-containers + hs-source-dirs: src + build-depends: + aeson >=1.0 + , base >=4.9 && <5 + , blaze-html >=0.9 + , bytestring >=0.10 + , conduit >=1.2.12 + , containers >=0.5 + , exceptions >=0.8 + , hspec >=2.4 + , hspec-expectations + , http-api-data + , HUnit + , monad-control + , monad-logger >=0.3.25 + , mtl + , path-pieces >=0.2 + , persistent >=2.14 && <2.16 + , QuickCheck >=2.9 + , quickcheck-instances >=0.3 + , random >=1.1 + , resourcet >=1.1 + , text >=1.2 + , time >=1.6 + , transformers >=0.5 + , transformers-base + , unliftio + , unliftio-core + , unordered-containers - default-language: Haskell2010 - default-extensions: - ExistentialQuantification - FlexibleContexts - FlexibleInstances - MultiParamTypeClasses - OverloadedStrings - QuasiQuotes - TemplateHaskell - TypeFamilies - StandaloneDeriving - DerivingStrategies - GeneralizedNewtypeDeriving - DataKinds + default-language: Haskell2010 + default-extensions: + DataKinds + DerivingStrategies + ExistentialQuantification + FlexibleContexts + FlexibleInstances + GeneralizedNewtypeDeriving + MultiParamTypeClasses + OverloadedStrings + QuasiQuotes + StandaloneDeriving + TemplateHaskell + TypeFamilies source-repository head type: git diff --git a/persistent/persistent.cabal b/persistent/persistent.cabal index d9cd19951..20791241d 100644 --- a/persistent/persistent.cabal +++ b/persistent/persistent.cabal @@ -1,224 +1,225 @@ -name: persistent -version: 2.15.0.0 -license: MIT -license-file: LICENSE -author: Michael Snoyman -maintainer: Michael Snoyman , Greg Weber -synopsis: Type-safe, multi-backend data serialization. -description: Hackage documentation generation is not reliable. For up to date documentation, please see: . -category: Database, Yesod -stability: Stable -cabal-version: >= 1.10 -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 +name: persistent +version: 2.15.0.0 +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: + Michael Snoyman , Greg Weber + +synopsis: Type-safe, multi-backend data serialization. +description: + Hackage documentation generation is not reliable. For up to date documentation, please see: . + +category: Database, Yesod +stability: Stable +cabal-version: >=1.10 +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 library - build-depends: - base >= 4.11.1.0 && < 5 - , aeson >= 1.0 && < 2.3 - , attoparsec - , attoparsec-aeson >= 2.1.0.0 && < 2.3 - , base64-bytestring - , blaze-html >= 0.9 - , bytestring >= 0.10 - , conduit >= 1.3 - , containers >= 0.5 - , deepseq - , fast-logger >= 2.4 - , http-api-data >= 0.3 - , lift-type >= 0.1.0.0 && < 0.2.0.0 - , monad-logger >= 0.3.28 - , mtl - , path-pieces >= 0.2 - , resource-pool >= 0.2.3 - , resourcet >= 1.1.10 - , scientific - , silently - , template-haskell >= 2.13 && < 2.23 - , text >= 1.2 - , th-lift-instances >= 0.1.14 && < 0.2 - , time >= 1.6 - , transformers >= 0.5 - , unliftio - , unliftio-core - , unordered-containers - , vault - , vector - - default-extensions: - FlexibleContexts - , MultiParamTypeClasses - , OverloadedStrings - , TypeFamilies - - exposed-modules: - Database.Persist - Database.Persist.Types - Database.Persist.Names - Database.Persist.PersistValue - Database.Persist.EntityDef - Database.Persist.EntityDef.Internal - Database.Persist.FieldDef - Database.Persist.FieldDef.Internal - Database.Persist.ImplicitIdDef - Database.Persist.ImplicitIdDef.Internal - Database.Persist.TH - Database.Persist.TH.Internal - - Database.Persist.Quasi - Database.Persist.Quasi.Internal - - Database.Persist.Sql - Database.Persist.Sql.Migration - Database.Persist.Sql.Types.Internal - Database.Persist.Sql.Util - - Database.Persist.SqlBackend - Database.Persist.SqlBackend.StatementCache - Database.Persist.SqlBackend.SqlPoolHooks - Database.Persist.SqlBackend.Internal - Database.Persist.SqlBackend.Internal.InsertSqlResult - Database.Persist.SqlBackend.Internal.IsolationLevel - Database.Persist.SqlBackend.Internal.SqlPoolHooks - Database.Persist.SqlBackend.Internal.Statement - Database.Persist.SqlBackend.Internal.StatementCache - Database.Persist.SqlBackend.Internal.MkSqlBackend - - Database.Persist.Class - Database.Persist.Class.PersistEntity - Database.Persist.Class.PersistQuery - Database.Persist.Class.PersistUnique - Database.Persist.Class.PersistConfig - Database.Persist.Class.PersistField - Database.Persist.Class.PersistStore - + build-depends: + aeson >=1.0 && <2.3 + , attoparsec + , attoparsec-aeson >=2.1.0.0 && <2.3 + , base >=4.11.1.0 && <5 + , base64-bytestring + , blaze-html >=0.9 + , bytestring >=0.10 + , conduit >=1.3 + , containers >=0.5 + , deepseq + , fast-logger >=2.4 + , http-api-data >=0.3 + , lift-type >=0.1.0.0 && <0.2.0.0 + , monad-logger >=0.3.28 + , mtl + , path-pieces >=0.2 + , resource-pool >=0.2.3 + , resourcet >=1.1.10 + , scientific + , silently + , template-haskell >=2.13 && <2.23 + , text >=1.2 + , th-lift-instances >=0.1.14 && <0.2 + , time >=1.6 + , transformers >=0.5 + , unliftio + , unliftio-core + , unordered-containers + , vault + , vector + + default-extensions: + FlexibleContexts + MultiParamTypeClasses + OverloadedStrings + TypeFamilies + + exposed-modules: + Database.Persist + Database.Persist.Class + Database.Persist.Class.PersistConfig + Database.Persist.Class.PersistEntity + Database.Persist.Class.PersistField + Database.Persist.Class.PersistQuery + Database.Persist.Class.PersistStore + Database.Persist.Class.PersistUnique + Database.Persist.EntityDef + Database.Persist.EntityDef.Internal + Database.Persist.FieldDef + Database.Persist.FieldDef.Internal + Database.Persist.ImplicitIdDef + Database.Persist.ImplicitIdDef.Internal + Database.Persist.Names + Database.Persist.PersistValue + Database.Persist.Quasi + Database.Persist.Quasi.Internal + Database.Persist.Sql + Database.Persist.Sql.Migration + Database.Persist.Sql.Types.Internal + Database.Persist.Sql.Util + Database.Persist.SqlBackend + Database.Persist.SqlBackend.Internal + Database.Persist.SqlBackend.Internal.InsertSqlResult + Database.Persist.SqlBackend.Internal.IsolationLevel + Database.Persist.SqlBackend.Internal.MkSqlBackend + Database.Persist.SqlBackend.Internal.SqlPoolHooks + Database.Persist.SqlBackend.Internal.Statement + Database.Persist.SqlBackend.Internal.StatementCache + Database.Persist.SqlBackend.SqlPoolHooks + Database.Persist.SqlBackend.StatementCache + Database.Persist.TH + Database.Persist.TH.Internal + Database.Persist.Types + + other-modules: + Database.Persist.Sql.Class + Database.Persist.Sql.Internal + Database.Persist.Sql.Orphan.PersistQuery + Database.Persist.Sql.Orphan.PersistStore + Database.Persist.Sql.Orphan.PersistUnique + Database.Persist.Sql.Raw + Database.Persist.Sql.Run + Database.Persist.Sql.Types + Database.Persist.Types.Base + Database.Persist.Types.Span + + -- These modules only make sense for compilers with access to DerivingVia + if impl(ghc >=8.6.1) + exposed-modules: Database.Persist.Compatible other-modules: - Database.Persist.Types.Base - Database.Persist.Types.Span - - 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 - - -- These modules only make sense for compilers with access to DerivingVia - if impl(ghc >= 8.6.1) - exposed-modules: - Database.Persist.Compatible - other-modules: - Database.Persist.Compatible.Types - Database.Persist.Compatible.TH - - ghc-options: -Wall -Werror=incomplete-patterns - default-language: Haskell2010 + Database.Persist.Compatible.TH + Database.Persist.Compatible.Types -test-suite test - type: exitcode-stdio-1.0 - main-is: main.hs - - build-depends: - base >= 4.9 && < 5 - , aeson - , attoparsec - , base64-bytestring - , blaze-html - , bytestring - , conduit - , containers - , deepseq - , fast-logger - , hspec >= 2.4 - , http-api-data - , monad-logger - , mtl - , path-pieces - , persistent - , QuickCheck - , quickcheck-instances >= 0.3 - , resource-pool - , resourcet - , scientific - , shakespeare - , silently - , template-haskell >= 2.4 - , text - , th-lift-instances - , time - , transformers - , unliftio - , unliftio-core - , unordered-containers - , vector - - hs-source-dirs: - test/ - - -- don't warn on partial matches, they're all over the place in the - -- testsuite and if they crash they will just fail the test. - ghc-options: -Wall -Wno-incomplete-uni-patterns - - default-extensions: FlexibleContexts - , MultiParamTypeClasses - , OverloadedStrings - , TypeFamilies - , TypeOperators + ghc-options: -Wall -Werror=incomplete-patterns + default-language: Haskell2010 - other-modules: - Database.Persist.ClassSpec - Database.Persist.PersistValueSpec - Database.Persist.QuasiSpec - Database.Persist.TH.CommentSpec - Database.Persist.TH.CompositeKeyStyleSpec - Database.Persist.TH.DiscoverEntitiesSpec - Database.Persist.TH.EmbedSpec - Database.Persist.TH.EntityHaddockSpec - Database.Persist.TH.ForeignRefSpec - Database.Persist.TH.ImplicitIdColSpec - Database.Persist.TH.JsonEncodingSpec - Database.Persist.TH.KindEntitiesSpec - Database.Persist.TH.KindEntitiesSpecImports - Database.Persist.TH.MaybeFieldDefsSpec - Database.Persist.TH.MigrationOnlySpec - Database.Persist.TH.MultiBlockSpec - Database.Persist.TH.MultiBlockSpec.Model - Database.Persist.TH.NestedSymbolsInTypeSpec - Database.Persist.TH.NestedSymbolsInTypeSpecImports - Database.Persist.TH.NoFieldSelectorsSpec - Database.Persist.TH.OverloadedLabelSpec - Database.Persist.TH.PersistWith.Model - Database.Persist.TH.PersistWith.Model2 - Database.Persist.TH.PersistWithSpec - Database.Persist.TH.RequireOnlyPersistImportSpec - Database.Persist.TH.SharedPrimaryKeyImportedSpec - Database.Persist.TH.SharedPrimaryKeySpec - Database.Persist.TH.SumSpec - Database.Persist.TH.ToFromPersistValuesSpec - Database.Persist.TH.TypeLitFieldDefsSpec - Database.Persist.THSpec - TemplateTestImports - default-language: Haskell2010 +test-suite test + type: exitcode-stdio-1.0 + main-is: main.hs + build-depends: + aeson + , attoparsec + , base >=4.9 && <5 + , base64-bytestring + , blaze-html + , bytestring + , conduit + , containers + , deepseq + , fast-logger + , hspec >=2.4 + , http-api-data + , monad-logger + , mtl + , path-pieces + , persistent + , QuickCheck + , quickcheck-instances >=0.3 + , resource-pool + , resourcet + , scientific + , shakespeare + , silently + , template-haskell >=2.4 + , text + , th-lift-instances + , time + , transformers + , unliftio + , unliftio-core + , unordered-containers + , vector + + hs-source-dirs: test/ + + -- don't warn on partial matches, they're all over the place in the + -- testsuite and if they crash they will just fail the test. + ghc-options: -Wall -Wno-incomplete-uni-patterns + default-extensions: + FlexibleContexts + MultiParamTypeClasses + OverloadedStrings + TypeFamilies + TypeOperators + + other-modules: + Database.Persist.ClassSpec + Database.Persist.PersistValueSpec + Database.Persist.QuasiSpec + Database.Persist.TH.CommentSpec + Database.Persist.TH.CompositeKeyStyleSpec + Database.Persist.TH.DiscoverEntitiesSpec + Database.Persist.TH.EmbedSpec + Database.Persist.TH.EntityHaddockSpec + Database.Persist.TH.ForeignRefSpec + Database.Persist.TH.ImplicitIdColSpec + Database.Persist.TH.JsonEncodingSpec + Database.Persist.TH.KindEntitiesSpec + Database.Persist.TH.KindEntitiesSpecImports + Database.Persist.TH.MaybeFieldDefsSpec + Database.Persist.TH.MigrationOnlySpec + Database.Persist.TH.MultiBlockSpec + Database.Persist.TH.MultiBlockSpec.Model + Database.Persist.TH.NestedSymbolsInTypeSpec + Database.Persist.TH.NestedSymbolsInTypeSpecImports + Database.Persist.TH.NoFieldSelectorsSpec + Database.Persist.TH.OverloadedLabelSpec + Database.Persist.TH.PersistWith.Model + Database.Persist.TH.PersistWith.Model2 + Database.Persist.TH.PersistWithSpec + Database.Persist.TH.RequireOnlyPersistImportSpec + Database.Persist.TH.SharedPrimaryKeyImportedSpec + Database.Persist.TH.SharedPrimaryKeySpec + Database.Persist.TH.SumSpec + Database.Persist.TH.ToFromPersistValuesSpec + Database.Persist.TH.TypeLitFieldDefsSpec + Database.Persist.THSpec + TemplateTestImports + + default-language: Haskell2010 source-repository head type: git location: https://github.com/yesodweb/persistent.git benchmark persistent-th-bench - ghc-options: -O2 - type: exitcode-stdio-1.0 - main-is: Main.hs - hs-source-dirs: bench - build-depends: base - , persistent - , criterion - , deepseq >= 1.4 - , file-embed - , text - , template-haskell - other-modules: Models - default-language: Haskell2010 + ghc-options: -O2 + type: exitcode-stdio-1.0 + main-is: Main.hs + hs-source-dirs: bench + build-depends: + base + , criterion + , deepseq >=1.4 + , file-embed + , persistent + , template-haskell + , text + + other-modules: Models + default-language: Haskell2010