2021-01-01 21:49:51 +03:00
|
|
|
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
2019-04-04 11:33:38 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-04-12 14:10:16 +03:00
|
|
|
load("//bazel_tools:haskell.bzl", "da_haskell_library")
|
2019-04-04 11:33:38 +03:00
|
|
|
|
2019-04-12 14:10:16 +03:00
|
|
|
da_haskell_library(
|
2019-04-04 11:33:38 +03:00
|
|
|
name = "daml-lf-proto",
|
2019-04-12 14:10:16 +03:00
|
|
|
srcs = glob(["src/**/*.hs"]),
|
2019-09-06 12:01:09 +03:00
|
|
|
hackage_deps = [
|
2019-04-04 11:33:38 +03:00
|
|
|
"base",
|
|
|
|
"bytestring",
|
|
|
|
"containers",
|
|
|
|
"cryptonite",
|
|
|
|
"either",
|
|
|
|
"lens",
|
|
|
|
"memory",
|
2019-06-26 12:15:24 +03:00
|
|
|
"mtl",
|
2019-04-24 18:59:08 +03:00
|
|
|
"proto3-suite",
|
2019-04-04 11:33:38 +03:00
|
|
|
"scientific",
|
|
|
|
"template-haskell",
|
|
|
|
"text",
|
2019-06-26 12:15:24 +03:00
|
|
|
"transformers",
|
2019-09-26 17:37:36 +03:00
|
|
|
"unordered-containers",
|
2019-04-04 11:33:38 +03:00
|
|
|
"vector",
|
|
|
|
],
|
2019-04-12 14:10:16 +03:00
|
|
|
src_strip_prefix = "src",
|
2019-04-04 11:33:38 +03:00
|
|
|
visibility = ["//visibility:public"],
|
2019-04-12 14:10:16 +03:00
|
|
|
deps = [
|
|
|
|
"//compiler/daml-lf-ast",
|
2019-10-15 12:36:11 +03:00
|
|
|
"//daml-lf/archive:daml_lf_dev_archive_haskell_proto",
|
2019-04-12 14:10:16 +03:00
|
|
|
"//libs-haskell/da-hs-base",
|
|
|
|
],
|
2019-04-04 11:33:38 +03:00
|
|
|
)
|