1
1
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , _http_archive = "http_archive" )
2
2
load ("@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" )
3
3
4
- _LEXY_BUILD_FILE_CONTENT = """
5
- load("@rules_cc//cc:defs.bzl", "cc_library")
6
- load("@ecsact_parse//bazel:copts.bzl", "copts")
7
-
8
- cc_library(
9
- name = "lexy",
10
- visibility = ["//visibility:public"],
11
- includes = ["include"],
12
- hdrs = glob(["include/**/*.hpp"]),
13
- srcs = ["src/input/file.cpp"],
14
- strip_include_prefix = "include",
15
- copts = copts,
16
- )
17
- """
18
-
19
4
def http_archive (name , ** kwargs ):
20
5
maybe (_http_archive , name = name , ** kwargs )
21
6
@@ -33,17 +18,3 @@ def ecsact_parse_dependencies():
33
18
strip_prefix = "ecsact_runtime-5cbf7257d7cbc42762d22e7604bc5bc0efb837fe" ,
34
19
url = "https://github.com/ecsact-dev/ecsact_runtime/archive/5cbf7257d7cbc42762d22e7604bc5bc0efb837fe.zip" ,
35
20
)
36
-
37
- http_archive (
38
- name = "lexy" ,
39
- build_file_content = _LEXY_BUILD_FILE_CONTENT ,
40
- sha256 = "de2199f8233ea5ed9d4dbe86a8eaf88d754decd28e28554329a7b29b4d952773" ,
41
- url = "https://github.com/foonathan/lexy/releases/download/v2022.05.1/lexy-src.zip" ,
42
- )
43
-
44
- http_archive (
45
- name = "magic_enum" ,
46
- sha256 = "6b948d1680f02542d651fc82154a9e136b341ce55c5bf300736b157e23f9df11" ,
47
- strip_prefix = "magic_enum-0.8.1" ,
48
- url = "https://github.com/Neargye/magic_enum/archive/refs/tags/v0.8.1.tar.gz" ,
49
- )
0 commit comments