mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
878429e3bf
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)
43 lines
1007 B
Python
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",
|
|
],
|
|
)
|