diff --git a/MODULE.bazel b/MODULE.bazel index 2daba3f93a..81fe691d9b 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -14,4 +14,5 @@ bazel_dep( dev_dependency = True, ) bazel_dep(name = "googletest", version = "1.15.2", dev_dependency = True) + bazel_dep(name = "ncurses", version = "6.4.20221231") diff --git a/bazel/ncurses/ncurses.BUILD b/bazel/ncurses/ncurses.BUILD index f58faa2f55..820432c972 100644 --- a/bazel/ncurses/ncurses.BUILD +++ b/bazel/ncurses/ncurses.BUILD @@ -1,3 +1,19 @@ +# Copyright (c) 2024 by Fernride GmbH. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") filegroup( diff --git a/bazel/ncurses/repositories.bzl b/bazel/ncurses/repositories.bzl index bf1342c992..3ef3e5a6dc 100644 --- a/bazel/ncurses/repositories.bzl +++ b/bazel/ncurses/repositories.bzl @@ -1,3 +1,21 @@ +# Copyright (c) 2024 by Fernride GmbH. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +"""This module prepares the ncurses dependency.""" + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")