mirror of
https://github.com/higherkindness/mu-haskell.git
synced 2024-09-11 14:36:01 +03:00
Release v0.2 (#113)
* Add shell script to format ALL cabal files with cabal-fmt 🧐
This commit is contained in:
parent
a513133689
commit
1f0f98b203
@ -1,55 +1,62 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-avro
|
||||
version: 0.1.0.0
|
||||
synopsis: Avro serialization support for Mu microservices
|
||||
description: You can use @mu-avro@ to read AVRO Schema Declarations for mu-haskell
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: test/avro/*.avsc
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-avro
|
||||
version: 0.2.0.0
|
||||
synopsis: Avro serialization support for Mu microservices
|
||||
description:
|
||||
You can use @mu-avro@ to read AVRO Schema Declarations for mu-haskell
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
data-files: test/avro/*.avsc
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Adapter.Avro
|
||||
, Mu.Quasi.Avro
|
||||
, Mu.Quasi.Avro.Example
|
||||
build-depends: base >=4.12 && <5
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, avro >=0.4.7
|
||||
, tagged
|
||||
, aeson
|
||||
, text
|
||||
, vector
|
||||
, containers
|
||||
, unordered-containers
|
||||
, sop-core
|
||||
, bytestring
|
||||
, template-haskell >= 2.12
|
||||
, language-avro
|
||||
, uuid
|
||||
, time
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules:
|
||||
Mu.Adapter.Avro
|
||||
Mu.Quasi.Avro
|
||||
Mu.Quasi.Avro.Example
|
||||
|
||||
build-depends:
|
||||
aeson
|
||||
, avro >=0.4.7
|
||||
, base >=4.12 && <5
|
||||
, bytestring
|
||||
, containers
|
||||
, language-avro >=0.1.1
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, sop-core
|
||||
, tagged
|
||||
, template-haskell >=2.12
|
||||
, text
|
||||
, time
|
||||
, unordered-containers
|
||||
, uuid
|
||||
, vector
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
||||
executable test-avro
|
||||
main-is: Avro.hs
|
||||
build-depends: base >=4.12 && <5
|
||||
, mu-schema
|
||||
, mu-avro
|
||||
, avro >=0.4.7
|
||||
, bytestring
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Avro.hs
|
||||
build-depends:
|
||||
avro >=0.4.7
|
||||
, base >=4.12 && <5
|
||||
, bytestring
|
||||
, mu-avro >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,35 +1,40 @@
|
||||
name: mu-kafka
|
||||
version: 0.1.0.0
|
||||
synopsis: Utilities for interoperation between Mu and Kafka
|
||||
description: This package provides simple interoperation between Mu and Kafka using @hw-kafka-client@
|
||||
homepage: https://github.com/higherkindness/mu-haskell
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: README.md
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-kafka
|
||||
version: 0.2.0.0
|
||||
synopsis: Utilities for interoperation between Mu and Kafka
|
||||
description:
|
||||
This package provides simple interoperation between Mu and Kafka using @hw-kafka-client@
|
||||
|
||||
homepage: https://github.com/higherkindness/mu-haskell
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: README.md
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Kafka.Producer
|
||||
, Mu.Kafka.Consumer
|
||||
other-modules: Mu.Kafka.Internal
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.7 && < 5
|
||||
, avro >=0.4.7
|
||||
, bytestring
|
||||
, mu-schema
|
||||
, mu-avro
|
||||
, hw-kafka-client
|
||||
, hw-kafka-conduit
|
||||
, conduit
|
||||
, resourcet
|
||||
exposed-modules:
|
||||
Mu.Kafka.Consumer
|
||||
Mu.Kafka.Producer
|
||||
|
||||
other-modules: Mu.Kafka.Internal
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
avro >=0.4.7
|
||||
, base >=4.7 && <5
|
||||
, bytestring
|
||||
, conduit
|
||||
, hw-kafka-client
|
||||
, hw-kafka-conduit
|
||||
, mu-avro >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, resourcet
|
||||
|
@ -1,30 +1,35 @@
|
||||
name: mu-persistent
|
||||
version: 0.1.0.0
|
||||
synopsis: Utilities for interoperation between Mu and Persistent
|
||||
description: Please see the <https://github.com/higherkindness/mu-haskell/persistent#readme readme file>.
|
||||
homepage: https://github.com/higherkindness/mu-haskell/persistent#readme
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa, Alejandro Serrano
|
||||
maintainer: flavio.corpa@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: README.md
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-persistent
|
||||
version: 0.2.0.0
|
||||
synopsis: Utilities for interoperation between Mu and Persistent
|
||||
description:
|
||||
Please see the <https://github.com/higherkindness/mu-haskell/persistent#readme readme file>.
|
||||
|
||||
homepage:
|
||||
https://github.com/higherkindness/mu-haskell/persistent#readme
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa, Alejandro Serrano
|
||||
maintainer: flavio.corpa@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: README.md
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Adapter.Persistent
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.7 && < 5
|
||||
, monad-logger
|
||||
, mu-schema
|
||||
, persistent
|
||||
, resourcet
|
||||
, transformers
|
||||
exposed-modules: Mu.Adapter.Persistent
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.7 && <5
|
||||
, monad-logger
|
||||
, mu-schema >=0.2.0
|
||||
, persistent
|
||||
, resourcet
|
||||
, transformers
|
||||
|
@ -1,56 +1,64 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-protobuf
|
||||
version: 0.1.0.0
|
||||
synopsis: Protocol Buffers serialization and gRPC schema import for Mu microservices
|
||||
description: You can use @mu-protobuf@ to read Protobuf Schema Declarations and services for mu-haskell
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: test/protobuf/*.proto
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-protobuf
|
||||
version: 0.2.0.0
|
||||
synopsis:
|
||||
Protocol Buffers serialization and gRPC schema import for Mu microservices
|
||||
|
||||
description:
|
||||
You can use @mu-protobuf@ to read Protobuf Schema Declarations and services for mu-haskell
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
data-files: test/protobuf/*.proto
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Adapter.ProtoBuf
|
||||
, Mu.Adapter.ProtoBuf.Via
|
||||
, Mu.Quasi.ProtoBuf
|
||||
, Mu.Quasi.GRpc
|
||||
, Mu.Quasi.ProtoBuf.Example
|
||||
build-depends: base >=4.12 && <5
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, text
|
||||
, sop-core
|
||||
, proto3-wire
|
||||
, bytestring
|
||||
, template-haskell >= 2.12
|
||||
, language-protobuf
|
||||
, compendium-client
|
||||
, http-client
|
||||
, servant-client-core
|
||||
, http2-grpc-proto3-wire
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules:
|
||||
Mu.Adapter.ProtoBuf
|
||||
Mu.Adapter.ProtoBuf.Via
|
||||
Mu.Quasi.GRpc
|
||||
Mu.Quasi.ProtoBuf
|
||||
Mu.Quasi.ProtoBuf.Example
|
||||
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, bytestring
|
||||
, compendium-client >=0.2.0
|
||||
, http-client
|
||||
, http2-grpc-proto3-wire
|
||||
, language-protobuf
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, proto3-wire
|
||||
, servant-client-core
|
||||
, sop-core
|
||||
, template-haskell >=2.12
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
||||
executable test-protobuf
|
||||
main-is: ProtoBuf.hs
|
||||
build-depends: base >=4.12 && <5
|
||||
, mu-schema
|
||||
, mu-protobuf
|
||||
, bytestring
|
||||
, text
|
||||
, proto3-wire
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-explicit-foralls
|
||||
main-is: ProtoBuf.hs
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, bytestring
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, proto3-wire
|
||||
, text
|
||||
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-explicit-foralls
|
||||
|
1
cabal-fmt.sh
Normal file
1
cabal-fmt.sh
Normal file
@ -0,0 +1 @@
|
||||
find . -name '*.cabal' -exec sh -c 'cabal-fmt $0 > output.tmp; mv output.tmp $0' {} ';'
|
@ -1,33 +1,36 @@
|
||||
cabal-version: >=1.10
|
||||
name: compendium-client
|
||||
version: 0.1.0.1
|
||||
synopsis: Client for the Compendium schema server
|
||||
description: Client for the <https://github.com/higherkindness/compendium Compendium> schema server
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: compendium-client
|
||||
version: 0.2.0.0
|
||||
synopsis: Client for the Compendium schema server
|
||||
description:
|
||||
Client for the <https://github.com/higherkindness/compendium Compendium> schema server
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Compendium.Client
|
||||
build-depends: base >=4.12 && <5
|
||||
, aeson
|
||||
, text
|
||||
, http-client
|
||||
, servant
|
||||
, servant-client
|
||||
, megaparsec
|
||||
, language-protobuf
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules: Compendium.Client
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.12 && <5
|
||||
, http-client
|
||||
, language-protobuf
|
||||
, megaparsec
|
||||
, servant
|
||||
, servant-client
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,31 +1,36 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-optics
|
||||
version: 0.1.0.0
|
||||
synopsis: Optics for @mu-schema@ terms
|
||||
description: With @mu-schema@ you can describe schemas using type-level constructs, and derive serializers from those. This package provides convenient access using @optics@.
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-optics
|
||||
version: 0.2.0.0
|
||||
synopsis: Optics for @mu-schema@ terms
|
||||
description:
|
||||
With @mu-schema@ you can describe schemas using type-level constructs, and derive serializers from those. This package provides convenient access using @optics@.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Schema.Optics
|
||||
exposed-modules: Mu.Schema.Optics
|
||||
|
||||
-- other-modules:
|
||||
-- other-extensions:
|
||||
build-depends: base >=4.12 && <5
|
||||
, sop-core
|
||||
, optics-core
|
||||
, mu-schema
|
||||
, containers
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, containers
|
||||
, mu-schema >=0.2.0
|
||||
, optics-core
|
||||
, sop-core
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,35 +1,40 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-rpc
|
||||
version: 0.1.0.0
|
||||
synopsis: Protocol-independent declaration of services and servers
|
||||
description: Protocol-independent declaration of services and servers for mu-haskell
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-rpc
|
||||
version: 0.2.0.0
|
||||
synopsis: Protocol-independent declaration of services and servers.
|
||||
description:
|
||||
Protocol-independent declaration of services and servers for mu-haskell.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
cabal-version: >=1.10
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Rpc,
|
||||
Mu.Server,
|
||||
Mu.Rpc.Examples
|
||||
build-depends: base >=4.12 && <5
|
||||
, conduit
|
||||
, mtl
|
||||
, mu-schema
|
||||
, sop-core
|
||||
, template-haskell
|
||||
, text
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules:
|
||||
Mu.Rpc
|
||||
Mu.Rpc.Examples
|
||||
Mu.Server
|
||||
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, mtl
|
||||
, mu-schema >=0.2.0
|
||||
, sop-core
|
||||
, template-haskell
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,50 +1,55 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-schema
|
||||
version: 0.1.0.0
|
||||
synopsis: Format-independent schemas for serialization
|
||||
description: With @mu-schema@ you can describe schemas using type-level constructs, and derive serializers from those. See @mu-avro@, @mu-protobuf@ for the actual adapters.
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-schema
|
||||
version: 0.2.0.0
|
||||
synopsis: Format-independent schemas for serialization
|
||||
description:
|
||||
With @mu-schema@ you can describe schemas using type-level constructs, and derive serializers from those. See @mu-avro@, @mu-protobuf@ for the actual adapters.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
cabal-version: >=1.10
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.Schema
|
||||
, Mu.Schema.Definition
|
||||
, Mu.Schema.Interpretation
|
||||
, Mu.Schema.Interpretation.Schemaless
|
||||
, Mu.Schema.Interpretation.Anonymous
|
||||
, Mu.Schema.Class
|
||||
, Mu.Schema.Registry
|
||||
, Mu.Schema.Conversion.TypesToSchema
|
||||
, Mu.Schema.Conversion.SchemaToTypes
|
||||
, Mu.Schema.Examples
|
||||
, Mu.Schema.Annotations
|
||||
, Mu.Adapter.Json
|
||||
, Data.Functor.MaybeLike
|
||||
exposed-modules:
|
||||
Data.Functor.MaybeLike
|
||||
Mu.Adapter.Json
|
||||
Mu.Schema
|
||||
Mu.Schema.Annotations
|
||||
Mu.Schema.Class
|
||||
Mu.Schema.Conversion.SchemaToTypes
|
||||
Mu.Schema.Conversion.TypesToSchema
|
||||
Mu.Schema.Definition
|
||||
Mu.Schema.Examples
|
||||
Mu.Schema.Interpretation
|
||||
Mu.Schema.Interpretation.Anonymous
|
||||
Mu.Schema.Interpretation.Schemaless
|
||||
Mu.Schema.Registry
|
||||
|
||||
-- other-modules:
|
||||
-- other-extensions:
|
||||
build-depends: base >=4.12 && <5
|
||||
, sop-core
|
||||
, containers
|
||||
, unordered-containers
|
||||
, bytestring
|
||||
, vector
|
||||
, text
|
||||
, aeson
|
||||
, template-haskell >= 2.12
|
||||
, th-abstraction
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.12 && <5
|
||||
, bytestring
|
||||
, containers
|
||||
, sop-core
|
||||
, template-haskell >=2.12
|
||||
, text
|
||||
, th-abstraction
|
||||
, unordered-containers
|
||||
, vector
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,25 +1,25 @@
|
||||
cabal-version: >=1.10
|
||||
-- Initial package description 'mu-haskell.cabal' generated by 'cabal
|
||||
-- init'. For further documentation, see
|
||||
-- http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: mu-docker-example
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
-- bug-reports:
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
-- copyright:
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: README.md
|
||||
name: mu-docker-example
|
||||
version: 0.2.0.0
|
||||
synopsis: Example of a mu-haskell service deployed with Docker
|
||||
description: Example of a mu-haskell service deployed with Docker.
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2020 <http://47deg.com 47 Degrees>
|
||||
cabal-version: >=1.10
|
||||
category: Network
|
||||
build-type: Simple
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
extra-source-files: README.md
|
||||
|
||||
executable mu-docker-example
|
||||
main-is: Main.hs
|
||||
build-depends: base >=4.12 && <5,
|
||||
mu-schema, mu-rpc, mu-grpc-server
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Main.hs
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,59 +1,67 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-example-health-check-avro
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: healthcheck.avdl
|
||||
name: mu-example-health-check-avro
|
||||
version: 0.2.0.0
|
||||
synopsis:
|
||||
Example health-check project from mu-scala (with avro) ported to mu-haskell
|
||||
|
||||
description:
|
||||
Example health-check project from mu-scala (with avro) ported to mu-haskell.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
data-files: healthcheck.avdl
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
executable health-server-avro
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5
|
||||
, text
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-avro
|
||||
, mu-grpc-server
|
||||
, stm
|
||||
, stm-conduit
|
||||
, stm-containers,
|
||||
deferred-folds
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, deferred-folds
|
||||
, mu-avro >=0.2.0
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, stm
|
||||
, stm-conduit
|
||||
, stm-containers
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
executable health-client-tyapps-avro
|
||||
main-is: ClientTyApps.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5
|
||||
, text
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-avro
|
||||
, mu-grpc-client
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: ClientTyApps.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, mu-avro >=0.2.0
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
executable health-client-record-avro
|
||||
main-is: ClientRecord.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5
|
||||
, text
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-avro
|
||||
, mu-grpc-client
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
main-is: ClientRecord.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, mu-avro >=0.2.0
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,51 +1,70 @@
|
||||
cabal-version: >=1.10
|
||||
-- Initial package description 'mu-haskell.cabal' generated by 'cabal
|
||||
-- init'. For further documentation, see
|
||||
-- http://haskell.org/cabal/users-guide/
|
||||
name: mu-example-health-check-protobuf
|
||||
version: 0.2.0.0
|
||||
synopsis:
|
||||
Example health-check project from mu-scala (with protobuf) ported to mu-haskell
|
||||
|
||||
name: mu-example-health-check-protobuf
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
-- bug-reports:
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: healthcheck.proto
|
||||
description:
|
||||
Example health-check project from mu-scala (with protobuf) ported to mu-haskell.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
data-files: healthcheck.proto
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
executable health-server-protobuf
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5, text,
|
||||
mu-schema, mu-rpc, mu-protobuf,
|
||||
mu-grpc-server,
|
||||
stm, stm-containers,
|
||||
conduit, stm-conduit,
|
||||
deferred-folds
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, deferred-folds
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, stm
|
||||
, stm-conduit
|
||||
, stm-containers
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
executable health-client-tyapps-protobuf
|
||||
main-is: ClientTyApps.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5, text,
|
||||
mu-schema, mu-rpc, mu-protobuf,
|
||||
mu-grpc-client, conduit
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: ClientTyApps.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
executable health-client-record-protobuf
|
||||
main-is: ClientRecord.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5, text,
|
||||
mu-schema, mu-rpc, mu-protobuf,
|
||||
mu-grpc-client, conduit
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: ClientRecord.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,31 +1,41 @@
|
||||
cabal-version: >=1.10
|
||||
-- Initial package description 'mu-haskell.cabal' generated by 'cabal
|
||||
-- init'. For further documentation, see
|
||||
-- http://haskell.org/cabal/users-guide/
|
||||
name: mu-example-route-guide
|
||||
version: 0.2.0.0
|
||||
synopsis:
|
||||
Example route-guide project from mu-scala ported to mu-haskell
|
||||
|
||||
name: mu-example-route-guide
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
-- bug-reports:
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: routeguide.proto
|
||||
description:
|
||||
Example route-guide project from mu-scala ported to mu-haskell.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 47 Degrees. <http://47deg.com>
|
||||
cabal-version: >=1.10
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: routeguide.proto
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
executable route-guide-server
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5, text,
|
||||
mu-schema, mu-rpc, mu-protobuf,
|
||||
mu-grpc-server,
|
||||
stm, stm-chans, hashable,
|
||||
conduit, AC-Angle, time, async,
|
||||
transformers
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
AC-Angle
|
||||
, async
|
||||
, base >=4.12 && <5
|
||||
, conduit
|
||||
, hashable
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, stm
|
||||
, stm-chans
|
||||
, text
|
||||
, time
|
||||
, transformers
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,30 +1,39 @@
|
||||
name: mu-example-seed-avro
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
homepage: https://github.com/higherkindness/mu-haskell/examples/seed/avro#readme
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa
|
||||
maintainer: flavio.corpa@47deg.com
|
||||
copyright: Copyright © 2020 47 Degrees. <http://47deg.com>
|
||||
category: Web
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: README.md
|
||||
data-files: seed.avdl
|
||||
name: mu-example-seed-avro
|
||||
version: 0.2.0.0
|
||||
synopsis:
|
||||
Example seed project from mu-scala (with avro) ported to mu-haskell
|
||||
|
||||
description:
|
||||
Example seed project from mu-scala (with avro) ported to mu-haskell.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa, Alejandro Serrano
|
||||
maintainer: flavio.corpa@47deg.com
|
||||
copyright: Copyright © 2020 47 Degrees. <http://47deg.com>
|
||||
category: Web
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: README.md
|
||||
data-files: seed.avdl
|
||||
homepage:
|
||||
https://github.com/higherkindness/mu-haskell/examples/seed/avro#readme
|
||||
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
executable mu-example-seed-avro
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.12 && < 5
|
||||
, monad-logger
|
||||
, mu-avro
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-optics
|
||||
, mu-grpc-server
|
||||
, text
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, monad-logger
|
||||
, mu-avro >=0.2.0
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-optics >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, text
|
||||
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,47 +1,57 @@
|
||||
name: mu-example-seed-protobuf
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
homepage: https://github.com/higherkindness/mu-haskell/examples/seed/protobuf#readme
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa
|
||||
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: seed.proto
|
||||
name: mu-example-seed-protobuf
|
||||
version: 0.2.0.0
|
||||
synopsis:
|
||||
Example seed project from mu-scala (with protobuf) ported to mu-haskell
|
||||
|
||||
description:
|
||||
Example seed project from mu-scala (with protobuf) ported to mu-haskell.
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
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: seed.proto
|
||||
homepage:
|
||||
https://github.com/higherkindness/mu-haskell/examples/seed/protobuf#readme
|
||||
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
executable seed-server
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.12 && < 5
|
||||
, conduit
|
||||
, monad-logger
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-protobuf
|
||||
, mu-grpc-server
|
||||
, text
|
||||
, stm
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, monad-logger
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, stm
|
||||
, text
|
||||
|
||||
executable seed-server-optics
|
||||
hs-source-dirs: src
|
||||
main-is: Optics.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.12 && < 5
|
||||
, conduit
|
||||
, monad-logger
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-protobuf
|
||||
, mu-optics
|
||||
, mu-grpc-server
|
||||
, text
|
||||
, stm
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
hs-source-dirs: src
|
||||
main-is: Optics.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, monad-logger
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-optics >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, stm
|
||||
, text
|
||||
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,33 +1,33 @@
|
||||
cabal-version: >=1.10
|
||||
-- Initial package description 'mu-haskell.cabal' generated by 'cabal
|
||||
-- init'. For further documentation, see
|
||||
-- http://haskell.org/cabal/users-guide/
|
||||
name: mu-example-todolist
|
||||
version: 0.2.0.0
|
||||
synopsis: Example todolist project from mu-scala ported to mu-haskell
|
||||
description:
|
||||
Example todolist project from mu-scala ported to mu-haskell.
|
||||
|
||||
name: mu-example-todolist
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
-- bug-reports:
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa
|
||||
maintainer: flavio.corpa@47deg.com
|
||||
copyright: Copyright © 2019-2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
data-files: todolist.proto
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Flavio Corpa, Alejandro Serrano
|
||||
maintainer: flavio.corpa@47deg.com
|
||||
copyright: Copyright © 2020 47 Degrees. <http://47deg.com>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
data-files: todolist.proto
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
executable todolist-server
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends: base >=4.12 && <5
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-protobuf
|
||||
, mu-grpc-server
|
||||
, stm
|
||||
, text
|
||||
, transformers
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Server.hs
|
||||
other-modules: Definition
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, stm
|
||||
, text
|
||||
, transformers
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,85 +1,95 @@
|
||||
name: mu-example-with-persistent
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
homepage: https://github.com/higherkindness/mu-haskell/examples/with-persistent#readme
|
||||
author: Flavio Corpa
|
||||
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
|
||||
name: mu-example-with-persistent
|
||||
version: 0.2.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
|
||||
, monad-logger
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-persistent
|
||||
, mu-protobuf
|
||||
, mu-grpc-server
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
hs-source-dirs: src
|
||||
main-is: Server.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, monad-logger
|
||||
, mu-grpc-server >=0.2.0
|
||||
, mu-persistent >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
|
||||
executable persistent-client
|
||||
main-is: Client.hs
|
||||
other-modules: Schema
|
||||
build-depends: base >=4.12 && <5
|
||||
, conduit
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-persistent
|
||||
, mu-protobuf
|
||||
, mu-grpc-client
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: Client.hs
|
||||
other-modules: Schema
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-persistent >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
|
||||
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
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-persistent
|
||||
, mu-protobuf
|
||||
, mu-grpc-client
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: ClientRecord.hs
|
||||
other-modules: Schema
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-persistent >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
|
||||
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
|
||||
, mu-schema
|
||||
, mu-rpc
|
||||
, mu-persistent
|
||||
, mu-protobuf
|
||||
, mu-grpc-client
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: ClientOptics.hs
|
||||
other-modules: Schema
|
||||
build-depends:
|
||||
base >=4.12 && <5
|
||||
, conduit
|
||||
, mu-grpc-client >=0.2.0
|
||||
, mu-persistent >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, persistent
|
||||
, persistent-sqlite
|
||||
, persistent-template
|
||||
, text
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -1,51 +1,56 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-grpc-client
|
||||
version: 0.1.0.0
|
||||
synopsis: gRPC clients from Mu definitions
|
||||
description: With @mu-grpc-client@ you can easily build gRPC clients for mu-haskell!
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-grpc-client
|
||||
version: 0.2.0.0
|
||||
synopsis: gRPC clients from Mu definitions
|
||||
description:
|
||||
With @mu-grpc-client@ you can easily build gRPC clients for mu-haskell!
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.GRpc.Client.TyApps,
|
||||
Mu.GRpc.Client.Record,
|
||||
Mu.GRpc.Client.Optics,
|
||||
Mu.GRpc.Client.Examples
|
||||
other-modules: Mu.GRpc.Client.Internal
|
||||
build-depends: base >=4.12 && <5
|
||||
, async
|
||||
, bytestring
|
||||
, conduit
|
||||
, http2
|
||||
, http2-client
|
||||
, http2-client-grpc
|
||||
, http2-grpc-types
|
||||
, mu-grpc-common
|
||||
, mu-optics
|
||||
, mu-protobuf
|
||||
, mu-rpc
|
||||
, mu-schema
|
||||
, optics-core
|
||||
, sop-core
|
||||
, stm
|
||||
, stm-chans
|
||||
, stm-conduit
|
||||
, template-haskell >= 2.12
|
||||
, text
|
||||
, th-abstraction
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules:
|
||||
Mu.GRpc.Client.Examples
|
||||
Mu.GRpc.Client.Optics
|
||||
Mu.GRpc.Client.Record
|
||||
Mu.GRpc.Client.TyApps
|
||||
|
||||
other-modules: Mu.GRpc.Client.Internal
|
||||
build-depends:
|
||||
async
|
||||
, base >=4.12 && <5
|
||||
, bytestring
|
||||
, conduit
|
||||
, http2
|
||||
, http2-client
|
||||
, http2-client-grpc
|
||||
, http2-grpc-types
|
||||
, mu-grpc-common >=0.2.0
|
||||
, mu-optics >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, optics-core
|
||||
, sop-core
|
||||
, stm
|
||||
, stm-chans
|
||||
, stm-conduit
|
||||
, template-haskell >=2.12
|
||||
, text
|
||||
, th-abstraction
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,36 +1,39 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-grpc-common
|
||||
version: 0.1.0.1
|
||||
synopsis: gRPC for Mu, common modules for client and server
|
||||
description: Use @mu-grpc-server@ or @mu-grpc-client@
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-grpc-common
|
||||
version: 0.2.0.0
|
||||
synopsis: gRPC for Mu, common modules for client and server
|
||||
description: Use @mu-grpc-server@ or @mu-grpc-client@
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.GRpc.Avro
|
||||
, Mu.GRpc.Bridge
|
||||
build-depends: base >=4.12 && <5
|
||||
, avro >=0.4.7
|
||||
, binary
|
||||
, bytestring
|
||||
, http2-grpc-proto3-wire
|
||||
, http2-grpc-types
|
||||
, mu-avro
|
||||
, mu-protobuf
|
||||
, mu-rpc
|
||||
, mu-schema
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules:
|
||||
Mu.GRpc.Avro
|
||||
Mu.GRpc.Bridge
|
||||
|
||||
build-depends:
|
||||
avro >=0.4.7
|
||||
, base >=4.12 && <5
|
||||
, binary
|
||||
, bytestring
|
||||
, http2-grpc-proto3-wire
|
||||
, http2-grpc-types
|
||||
, mu-avro >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
@ -1,69 +1,74 @@
|
||||
cabal-version: >=1.10
|
||||
name: mu-grpc-server
|
||||
version: 0.1.0.1
|
||||
synopsis: gRPC servers for Mu definitions
|
||||
description: With @mu-grpc-server@ you can easily build gRPC servers for mu-haskell!
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
name: mu-grpc-server
|
||||
version: 0.2.0.0
|
||||
synopsis: gRPC servers for Mu definitions
|
||||
description:
|
||||
With @mu-grpc-server@ you can easily build gRPC servers for mu-haskell!
|
||||
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
author: Alejandro Serrano, Flavio Corpa
|
||||
maintainer: alejandro.serrano@47deg.com
|
||||
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
|
||||
cabal-version: >=1.10
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
homepage: https://higherkindness.io/mu-haskell/
|
||||
bug-reports: https://github.com/higherkindness/mu-haskell/issues
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/higherkindness/mu-haskell
|
||||
|
||||
library
|
||||
exposed-modules: Mu.GRpc.Server
|
||||
build-depends: base >=4.12 && <5
|
||||
, async
|
||||
, binary
|
||||
, bytestring
|
||||
, conduit
|
||||
, http2-grpc-types
|
||||
, mtl
|
||||
, mu-grpc-common
|
||||
, mu-protobuf
|
||||
, mu-rpc
|
||||
, mu-schema
|
||||
, sop-core
|
||||
, stm
|
||||
, stm-conduit
|
||||
, wai
|
||||
, warp
|
||||
, warp-grpc
|
||||
, warp-tls
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
-fprint-potential-instances
|
||||
exposed-modules: Mu.GRpc.Server
|
||||
build-depends:
|
||||
async
|
||||
, base >=4.12 && <5
|
||||
, binary
|
||||
, bytestring
|
||||
, conduit
|
||||
, http2-grpc-types
|
||||
, mtl
|
||||
, mu-grpc-common >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, sop-core
|
||||
, stm
|
||||
, stm-conduit
|
||||
, wai
|
||||
, warp
|
||||
, warp-grpc
|
||||
, warp-tls
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fprint-potential-instances
|
||||
|
||||
executable grpc-example-server
|
||||
main-is: ExampleServer.hs
|
||||
other-modules: Mu.GRpc.Server
|
||||
build-depends: base >=4.12 && <5
|
||||
, async
|
||||
, binary
|
||||
, bytestring
|
||||
, conduit
|
||||
, http2-grpc-types
|
||||
, mtl
|
||||
, mu-grpc-common
|
||||
, mu-protobuf
|
||||
, mu-rpc
|
||||
, mu-schema
|
||||
, sop-core
|
||||
, stm
|
||||
, stm-conduit
|
||||
, wai
|
||||
, warp
|
||||
, warp-grpc
|
||||
, warp-tls
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
main-is: ExampleServer.hs
|
||||
other-modules: Mu.GRpc.Server
|
||||
build-depends:
|
||||
async
|
||||
, base >=4.12 && <5
|
||||
, binary
|
||||
, bytestring
|
||||
, conduit
|
||||
, http2-grpc-types
|
||||
, mtl
|
||||
, mu-grpc-common >=0.2.0
|
||||
, mu-protobuf >=0.2.0
|
||||
, mu-rpc >=0.2.0
|
||||
, mu-schema >=0.2.0
|
||||
, sop-core
|
||||
, stm
|
||||
, stm-conduit
|
||||
, wai
|
||||
, warp
|
||||
, warp-grpc
|
||||
, warp-tls
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -17,31 +17,31 @@ executable {{name}}
|
||||
main-is: Main.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.12 && < 5,
|
||||
text,
|
||||
mu-schema,
|
||||
mu-rpc,
|
||||
mu-avro,
|
||||
mu-grpc-server
|
||||
build-depends: base >= 4.12 && < 5
|
||||
, text
|
||||
, mu-schema >= 0.2.0
|
||||
, mu-rpc >= 0.2.0
|
||||
, mu-avro >= 0.2.0
|
||||
, mu-grpc-server >= 0.2.0
|
||||
|
||||
{-# START_FILE stack.yaml #-}
|
||||
resolver: lts-14.22
|
||||
resolver: lts-14.27
|
||||
allow-newer: true
|
||||
extra-deps:
|
||||
# mu
|
||||
- mu-schema-0.1.0.0
|
||||
- mu-rpc-0.1.0.0
|
||||
- mu-optics-0.1.0.0
|
||||
- mu-avro-0.1.0.0
|
||||
- mu-grpc-server-0.1.0.1
|
||||
- compendium-client-0.1.0.1
|
||||
- mu-schema-0.2.0.0
|
||||
- mu-rpc-0.2.0.0
|
||||
- mu-optics-0.2.0.0
|
||||
- mu-avro-0.2.0.0
|
||||
- mu-grpc-server-0.2.0.0
|
||||
- compendium-client-0.2.0.0
|
||||
# dependencies of mu
|
||||
- http2-client-0.9.0.0
|
||||
- http2-grpc-types-0.5.0.0
|
||||
- http2-grpc-proto3-wire-0.1.0.0
|
||||
- warp-grpc-0.3.0.0
|
||||
- proto3-wire-1.1.0
|
||||
- language-protobuf-1.0.1
|
||||
- language-avro-0.1.1.0
|
||||
|
||||
{-# START_FILE Setup.hs #-}
|
||||
import Distribution.Simple
|
||||
@ -73,6 +73,7 @@ protocol Service {
|
||||
{-# language TemplateHaskell #-}
|
||||
{-# language TypeFamilies #-}
|
||||
{-# language TypeOperators #-}
|
||||
|
||||
module Schema where
|
||||
|
||||
import Data.Text as T
|
||||
@ -98,6 +99,7 @@ type Message = Term Identity TheSchema (TheSchema :/: "Message")
|
||||
{-# language PartialTypeSignatures #-}
|
||||
{-# language OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-partial-type-signatures #-}
|
||||
|
||||
module Main where
|
||||
|
||||
import Mu.GRpc.Server
|
||||
|
@ -17,24 +17,24 @@ executable {{name}}
|
||||
main-is: Main.hs
|
||||
other-modules: Schema
|
||||
default-language: Haskell2010
|
||||
build-depends: base >= 4.12 && < 5,
|
||||
text,
|
||||
mu-schema,
|
||||
mu-rpc,
|
||||
mu-protobuf,
|
||||
mu-grpc-server
|
||||
build-depends: base >= 4.12 && < 5
|
||||
, text
|
||||
, mu-schema >= 0.2.0
|
||||
, mu-rpc >= 0.2.0
|
||||
, mu-protobuf >= 0.2.0
|
||||
, mu-grpc-server >= 0.2.0
|
||||
|
||||
{-# START_FILE stack.yaml #-}
|
||||
resolver: lts-14.22
|
||||
resolver: lts-14.27
|
||||
allow-newer: true
|
||||
extra-deps:
|
||||
# mu
|
||||
- mu-schema-0.1.0.0
|
||||
- mu-rpc-0.1.0.0
|
||||
- mu-optics-0.1.0.0
|
||||
- mu-protobuf-0.1.0.0
|
||||
- mu-grpc-server-0.1.0.1
|
||||
- compendium-client-0.1.0.1
|
||||
- mu-schema-0.2.0.0
|
||||
- mu-rpc-0.2.0.0
|
||||
- mu-optics-0.2.0.0
|
||||
- mu-protobuf-0.2.0.0
|
||||
- mu-grpc-server-0.2.0.0
|
||||
- compendium-client-0.2.0.0
|
||||
# dependencies of mu
|
||||
- http2-client-0.9.0.0
|
||||
- http2-grpc-types-0.5.0.0
|
||||
@ -78,6 +78,7 @@ service Service {
|
||||
{-# language TemplateHaskell #-}
|
||||
{-# language TypeFamilies #-}
|
||||
{-# language TypeOperators #-}
|
||||
|
||||
module Schema where
|
||||
|
||||
import Data.Text as T
|
||||
@ -103,6 +104,7 @@ type Message = Term Maybe TheSchema (TheSchema :/: "Message")
|
||||
{-# language PartialTypeSignatures #-}
|
||||
{-# language OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-partial-type-signatures #-}
|
||||
|
||||
module Main where
|
||||
|
||||
import Mu.GRpc.Server
|
||||
|
Loading…
Reference in New Issue
Block a user