Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Fill all cabal files for Hackage! 🚀 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
kutyel authored Jan 13, 2020
1 parent 0cecd29 commit cdca93a
Show file tree
Hide file tree
Showing 9 changed files with 119 additions and 69 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @serras @kutyel
13 changes: 8 additions & 5 deletions adapter/avro/mu-avro.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,26 @@ cabal-version: >=1.10
name: mu-avro
version: 0.1.0.0
synopsis: Avro serialization support for Mu microservices
-- description:
-- bug-reports:
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: [email protected]
-- copyright:
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

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
-- other-modules:
-- other-extensions:
build-depends: base >=4.12 && <5
, mu-schema
, avro
Expand Down
9 changes: 7 additions & 2 deletions adapter/persistent/mu-persistent.cabal
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
name: mu-persistent
version: 0.1.0.0
synopsis: Utilities for interoperation between Mu and Persistent
-- description:
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: [email protected]
copyright: Copyright © 2019-2020 47 Degrees. <http://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
Expand Down
18 changes: 11 additions & 7 deletions adapter/protobuf/mu-protobuf.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@ cabal-version: >=1.10
name: mu-protobuf
version: 0.1.0.0
synopsis: Protocol Buffers serialization and gRPC schema import for Mu microservices
-- description:
-- bug-reports:
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
author: Alejandro Serrano, Flavio Corpa
maintainer: [email protected]
-- copyright:
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

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
-- other-modules:
-- other-extensions:
build-depends: base >=4.12 && <5
, mu-schema
, mu-rpc
Expand Down Expand Up @@ -49,4 +52,5 @@ executable test-protobuf
, proto3-wire
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall -fprint-explicit-foralls
ghc-options: -Wall
-fprint-explicit-foralls
2 changes: 0 additions & 2 deletions compendium-client/compendium-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ source-repository head

library
exposed-modules: Compendium.Client
-- other-modules:
-- other-extensions:
build-depends: base >=4.12 && <5
, aeson
, text
Expand Down
31 changes: 18 additions & 13 deletions core/rpc/mu-rpc.cabal
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
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-rpc
version: 0.1.0.0
synopsis: Protocol-independent declaration of services and servers
-- description:
-- bug-reports:
description: Protocol-independent declaration of services and servers for mu-haskell
license: Apache-2.0
license-file: LICENSE
author: Alejandro Serrano
author: Alejandro Serrano, Flavio Corpa
maintainer: [email protected]
-- copyright:
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

source-repository head
type: git
location: https://github.com/higherkindness/mu-haskell

library
exposed-modules: Mu.Rpc,
Mu.Server,
Mu.Rpc.Examples
-- other-modules:
-- other-extensions:
build-depends: base >=4.12 && <5, mtl, sop-core,
mu-schema, conduit, text, template-haskell
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
ghc-options: -Wall
-fprint-potential-instances
1 change: 0 additions & 1 deletion core/schema/mu-schema.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ 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.
-- bug-reports:
license: Apache-2.0
license-file: LICENSE
author: Alejandro Serrano, Flavio Corpa
Expand Down
46 changes: 29 additions & 17 deletions grpc/client/mu-grpc-client.cabal
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
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-grpc-client
version: 0.1.0.0
synopsis: gRPC clients from Mu definitions
-- description:
-- bug-reports:
description: With @mu-grpc-client@ you can easily build gRPC clients for mu-haskell!
license: Apache-2.0
license-file: LICENSE
author: Alejandro Serrano
author: Alejandro Serrano, Flavio Corpa
maintainer: [email protected]
-- copyright:
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

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.Examples
other-modules: Mu.GRpc.Client.Internal
-- other-extensions:
build-depends: base >=4.12 && <5, sop-core,
bytestring, async, text,
mu-schema, mu-rpc, mu-protobuf,
http2, http2-client, http2-client-grpc,
http2-grpc-proto3-wire,
conduit, stm, stm-chans, stm-conduit,
template-haskell >= 2.12, th-abstraction
build-depends: base >=4.12 && <5
, async
, bytestring
, conduit
, http2
, http2-client
, http2-client-grpc
, http2-grpc-proto3-wire
, mu-protobuf
, mu-rpc
, mu-schema
, 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
ghc-options: -Wall
-fprint-potential-instances
67 changes: 45 additions & 22 deletions grpc/server/mu-grpc-server.cabal
Original file line number Diff line number Diff line change
@@ -1,44 +1,67 @@
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-grpc-server
version: 0.1.0.0
synopsis: gRPC servers for Mu definitions
-- description:
-- bug-reports:
description: With @mu-grpc-server@ you can easily build gRPC servers for mu-haskell!
license: Apache-2.0
license-file: LICENSE
author: Alejandro Serrano
author: Alejandro Serrano, Flavio Corpa
maintainer: [email protected]
-- copyright:
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

source-repository head
type: git
location: https://github.com/higherkindness/mu-haskell

library
exposed-modules: Mu.GRpc.Server
-- other-extensions:
build-depends: base >=4.12 && <5, sop-core,
bytestring, async, mtl,
mu-schema, mu-rpc, mu-protobuf,
warp, warp-grpc, wai, warp-tls,
http2-grpc-types, http2-grpc-proto3-wire,
conduit, stm, stm-conduit
build-depends: base >=4.12 && <5
, async
, bytestring
, conduit
, http2-grpc-proto3-wire
, http2-grpc-types
, mtl
, 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
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, sop-core,
bytestring, async, mtl,
mu-schema, mu-rpc, mu-protobuf,
warp, warp-grpc, wai, warp-tls,
http2-grpc-types, http2-grpc-proto3-wire,
conduit, stm, stm-conduit
build-depends: base >=4.12 && <5
, async
, bytestring
, conduit
, http2-grpc-proto3-wire
, http2-grpc-types
, mtl
, 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

0 comments on commit cdca93a

Please sign in to comment.