daml/compiler/damlc/daml-lf-conversion/BUILD.bazel
Gary Verhaegen 878429e3bf
update copyright notices to 2020 (#3939)
copyright update 2020

* update template
* run script: `dade-copyright-headers update .`
* update script
* manual adjustments
* exclude frozen proto files from further header checks (by adding NO_AUTO_COPYRIGHT files)
2020-01-02 21:21:13 +01:00

43 lines
1007 B
Python

# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load(
"//bazel_tools:haskell.bzl",
"da_haskell_library",
)
da_haskell_library(
name = "daml-lf-conversion",
srcs = glob(["src/**/*.hs"]),
hackage_deps = [
"base",
"bytestring",
"containers",
"Decimal",
"directory",
"extra",
"filepath",
"haskell-lsp-types",
"ghc-lib-parser",
"ghc-lib",
"ghcide",
"lens",
"mtl",
"recursion-schemes",
"safe",
"text",
"uniplate",
],
# hie-bios depends on "ghc" which conflicts with ghc-lib(-parser)
repl_ghci_args = ["-hide-package=ghc"],
src_strip_prefix = "src",
visibility = ["//visibility:public"],
deps = [
"//:sdk-version-hs-lib",
"//compiler/daml-lf-ast",
"//compiler/daml-lf-proto",
"//compiler/daml-lf-tools",
"//libs-haskell/da-hs-base",
],
)