2019-08-13 19:23:03 +03:00
|
|
|
# Copyright (c) 2019 The DAML Authors. 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-tools",
|
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",
|
|
|
|
"containers",
|
|
|
|
"either",
|
|
|
|
"extra",
|
2019-05-04 20:51:56 +03:00
|
|
|
"hashable",
|
2019-04-04 11:33:38 +03:00
|
|
|
"lens",
|
|
|
|
"mtl",
|
|
|
|
"recursion-schemes",
|
|
|
|
"safe",
|
|
|
|
"text",
|
|
|
|
"uniplate",
|
|
|
|
"unordered-containers",
|
|
|
|
],
|
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",
|
|
|
|
"//libs-haskell/da-hs-base",
|
|
|
|
],
|
2019-04-04 11:33:38 +03:00
|
|
|
)
|