Skip to content

Commit 269567a

Browse files
committed
chore: add license
Signed-off-by: wep21 <[email protected]>
1 parent bf9f9f0 commit 269567a

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

BUILD.bazel

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
load("@python_versions//3.12:defs.bzl", "py_binary")
2+
load("@rules_license//rules:license.bzl", "license")
3+
4+
exports_files([
5+
"LICENSE",
6+
])
7+
8+
package(
9+
default_applicable_licenses = [":license"],
10+
default_visibility = ["//visibility:public"],
11+
)
12+
13+
license(
14+
name = "license",
15+
license_kinds = ["@rules_license//licenses/spdx:BSD-3-Clause"],
16+
license_text = "LICENSE",
17+
package_name = "cmake_configure_file",
18+
package_url = "https://github.com/wep21/cmake_configure_file",
19+
package_version = "0.1.4",
20+
visibility = ["//visibility:public"],
21+
)
222

323
py_binary(
424
name = "cmake_configure_file",

LICENSE

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
All components of Drake are licensed under the BSD 3-Clause License
2+
shown below. Where noted in the source code, some portions may
3+
be subject to other permissive, non-viral licenses.
4+
5+
Copyright 2012-2025 Robot Locomotion Group @ CSAIL
6+
All rights reserved.
7+
8+
Redistribution and use in source and binary forms, with or without
9+
modification, are permitted provided that the following conditions are
10+
met:
11+
12+
Redistributions of source code must retain the above copyright notice,
13+
this list of conditions and the following disclaimer. Redistributions
14+
in binary form must reproduce the above copyright notice, this list of
15+
conditions and the following disclaimer in the documentation and/or
16+
other materials provided with the distribution. Neither the name of
17+
the Massachusetts Institute of Technology nor the names of its
18+
contributors may be used to endorse or promote products derived from
19+
this software without specific prior written permission.
20+
21+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MODULE.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module(name = "cmake_configure_file")
22

3-
bazel_dep(name = "platforms", version = "0.0.10")
3+
bazel_dep(name = "platforms", version = "0.0.11")
4+
bazel_dep(name = "rules_license", version = "1.0.0")
45
bazel_dep(name = "rules_python", version = "1.0.0")
56

67
python = use_extension("@rules_python//python/extensions:python.bzl", "python")

0 commit comments

Comments
 (0)