mu-haskell/examples/with-persistent/mu-example-with-persistent.cabal
2020-11-20 10:24:15 +01:00

97 lines
3.2 KiB
Plaintext

name: mu-example-with-persistent
version: 0.3.0.0
synopsis: Example of a mu-haskell project integrated with persistent
description: Example of a mu-haskell project integrated with persistent.
author: Flavio Corpa, Alejandro Serrano
maintainer: flavio.corpa@47deg.com
copyright: Copyright © 2019-2020 47 Degrees. <http://47deg.com>
category: Network
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
data-files: with-persistent.proto
homepage:
https://github.com/higherkindness/mu-haskell/examples/with-persistent#readme
bug-reports: https://github.com/higherkindness/mu-haskell/issues
executable persistent-server
hs-source-dirs: src
main-is: Server.hs
other-modules: Schema
default-language: Haskell2010
build-depends:
base >=4.12 && <5
, conduit >=1.3.2 && <2
, monad-logger >=0.3 && <0.4
, mu-grpc-server >=0.4
, mu-persistent >=0.3
, mu-protobuf >=0.4
, mu-rpc >=0.4
, mu-schema >=0.3
, persistent >=2.10 && <3
, persistent-sqlite >=2.10 && <3
, persistent-template >=2.8 && <3
, text >=1.2 && <2
executable persistent-client
main-is: Client.hs
other-modules: Schema
build-depends:
base >=4.12 && <5
, conduit >=1.3.2 && <2
, mu-grpc-client >=0.3.0
, mu-persistent >=0.3.0
, mu-protobuf >=0.4.0
, mu-rpc >=0.4.0
, mu-schema >=0.3.0
, persistent >=2.10 && <3
, persistent-sqlite >=2.10 && <3
, persistent-template >=2.8 && <3
, text >=1.2 && <2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
executable persistent-client-record
main-is: ClientRecord.hs
other-modules: Schema
build-depends:
base >=4.12 && <5
, conduit >=1.3.2 && <2
, mu-grpc-client >=0.3.0
, mu-persistent >=0.3.0
, mu-protobuf >=0.4.0
, mu-rpc >=0.4.0
, mu-schema >=0.3.0
, persistent >=2.10 && <3
, persistent-sqlite >=2.10 && <3
, persistent-template >=2.8 && <3
, text >=1.2 && <2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
executable persistent-client-optics
main-is: ClientOptics.hs
other-modules: Schema
build-depends:
base >=4.12 && <5
, conduit >=1.3.2 && <2
, mu-grpc-client >=0.3.0.0
, mu-optics >=0.3.0.0
, mu-persistent >=0.3.0
, mu-protobuf >=0.4.0
, mu-rpc >=0.4.0
, mu-schema >=0.3.0
, persistent >=2.10 && <3
, persistent-sqlite >=2.10 && <3
, persistent-template >=2.8 && <3
, text >=1.2 && <2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall