2020-12-30 18:35:47 +02:00
|
|
|
cabal-version: 2.4
|
|
|
|
-- Initial package description 'buuka.cabal' generated by 'cabal init'.
|
|
|
|
-- For further documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
name: buuka
|
|
|
|
version: 0.1.0.0
|
|
|
|
-- synopsis:
|
|
|
|
-- description:
|
|
|
|
-- bug-reports:
|
|
|
|
license: BSD-3-Clause
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Mats Rauhala
|
|
|
|
maintainer: mats.rauhala@iki.fi
|
|
|
|
-- copyright:
|
|
|
|
category: Web
|
|
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
|
2020-12-30 22:09:02 +02:00
|
|
|
common common-stanza
|
|
|
|
build-depends: base ^>=4.13.0.0
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
, ScopedTypeVariables
|
|
|
|
, DerivingVia
|
|
|
|
, DeriveAnyClass
|
|
|
|
, GeneralizedNewtypeDeriving
|
|
|
|
, DeriveFunctor
|
|
|
|
, DeriveTraversable
|
|
|
|
, DeriveFoldable
|
|
|
|
, StandaloneDeriving
|
|
|
|
, DerivingStrategies
|
|
|
|
, DeriveGeneric
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -threaded
|
|
|
|
|
2020-12-30 18:35:47 +02:00
|
|
|
library
|
2020-12-30 22:09:02 +02:00
|
|
|
import: common-stanza
|
2020-12-30 18:35:47 +02:00
|
|
|
exposed-modules: MyLib
|
2020-12-30 22:09:02 +02:00
|
|
|
, Database.Migrations
|
2020-12-30 23:29:56 +02:00
|
|
|
, Control.Monad.Buuka
|
|
|
|
, Operations.Insert
|
2021-01-01 08:29:24 +02:00
|
|
|
, Operations.List
|
2021-01-02 08:27:18 +02:00
|
|
|
, Operations.Format
|
2020-12-30 23:29:56 +02:00
|
|
|
, Operations
|
|
|
|
, Data.Environment
|
|
|
|
, Data.Buuka
|
2021-01-02 09:09:38 +02:00
|
|
|
, Data.Query
|
|
|
|
, Data.Functor.Foldable
|
2020-12-30 18:35:47 +02:00
|
|
|
-- other-modules:
|
2020-12-30 22:09:02 +02:00
|
|
|
build-depends: aeson
|
2020-12-30 18:35:47 +02:00
|
|
|
, yaml
|
|
|
|
, mtl
|
|
|
|
, transformers
|
2020-12-30 23:29:56 +02:00
|
|
|
, unliftio
|
|
|
|
, containers
|
|
|
|
, exceptions
|
|
|
|
, bytestring
|
|
|
|
, filepath
|
2021-01-01 07:55:10 +02:00
|
|
|
, vector
|
|
|
|
, hashids
|
2021-01-01 08:29:24 +02:00
|
|
|
, text
|
2021-01-01 08:34:09 +02:00
|
|
|
, lens
|
2021-01-01 09:04:48 +02:00
|
|
|
, hashable
|
2021-01-03 00:23:43 +02:00
|
|
|
, regex-tdfa
|
2020-12-30 18:35:47 +02:00
|
|
|
hs-source-dirs: src
|
|
|
|
|
|
|
|
executable buuka
|
2020-12-30 22:09:02 +02:00
|
|
|
import: common-stanza
|
2020-12-30 18:35:47 +02:00
|
|
|
main-is: Main.hs
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2020-12-30 22:09:02 +02:00
|
|
|
build-depends: buuka
|
2020-12-30 18:35:47 +02:00
|
|
|
, optparse-applicative
|
2020-12-31 08:31:31 +02:00
|
|
|
, unliftio
|
2020-12-30 18:35:47 +02:00
|
|
|
hs-source-dirs: app
|
|
|
|
|
|
|
|
test-suite buuka-test
|
2020-12-30 22:09:02 +02:00
|
|
|
import: common-stanza
|
|
|
|
other-modules: Test.Database.Migrations
|
2020-12-31 08:51:37 +02:00
|
|
|
Test.Data.Buuka
|
2021-01-02 09:09:38 +02:00
|
|
|
Test.Data.Query
|
|
|
|
Test.Data.Functor.Foldable
|
2020-12-30 18:35:47 +02:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: MyLibTest.hs
|
2020-12-30 22:09:02 +02:00
|
|
|
build-depends: buuka
|
2020-12-30 18:35:47 +02:00
|
|
|
, hedgehog
|
2020-12-30 22:09:02 +02:00
|
|
|
, hedgehog-corpus
|
2020-12-30 18:35:47 +02:00
|
|
|
, tasty-hedgehog
|
2021-01-02 09:17:29 +02:00
|
|
|
, tasty-hunit
|
2020-12-30 18:35:47 +02:00
|
|
|
, tasty
|
2020-12-30 22:09:02 +02:00
|
|
|
, text
|
|
|
|
, aeson
|
2021-01-03 00:05:16 +02:00
|
|
|
, deriving-compat
|