2020-06-09 21:56:19 +03:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@rules_haskell//haskell:defs.bzl",
|
|
|
|
"haskell_binary",
|
|
|
|
"haskell_library",
|
|
|
|
)
|
|
|
|
load(
|
|
|
|
"@rules_haskell//haskell:cabal.bzl",
|
|
|
|
"haskell_cabal_binary",
|
|
|
|
"haskell_cabal_library",
|
|
|
|
)
|
|
|
|
|
|
|
|
haskell_library(
|
2020-06-27 19:47:04 +03:00
|
|
|
name = "semantic-proto",
|
2020-06-09 21:56:19 +03:00
|
|
|
srcs = glob(["src/**/*.hs"]),
|
2020-09-11 01:55:41 +03:00
|
|
|
compiler_flags = ["-XOverloadedStrings"],
|
2020-06-09 21:56:19 +03:00
|
|
|
deps = [
|
2020-06-25 15:56:09 +03:00
|
|
|
"//:base",
|
2020-06-27 19:47:04 +03:00
|
|
|
"//:text",
|
2020-06-09 21:56:19 +03:00
|
|
|
"@stackage//:aeson",
|
|
|
|
"@stackage//:proto-lens",
|
2020-09-11 01:55:41 +03:00
|
|
|
"@stackage//:proto-lens-jsonpb",
|
2020-06-09 21:56:19 +03:00
|
|
|
"@stackage//:proto-lens-runtime",
|
|
|
|
],
|
|
|
|
)
|