Skip to content

Commit 19655b7

Browse files
license: ban Anduril Industries via custom license with entity exclusion
2 parents 4dd3b02 + 0d98578 commit 19655b7

8 files changed

Lines changed: 209 additions & 241 deletions

File tree

LICENSE

Lines changed: 100 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,103 @@
1-
MIT License
1+
Custom License with Entity Exclusion
22

33
Copyright (c) 2026 Marko Vejnovic
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
5+
1. Definitions.
6+
7+
"Software" means the software, documentation, and associated files made
8+
available under this License.
9+
10+
"Derivative Work" means any work that is based on or derived from the
11+
Software, including but not limited to modifications, translations,
12+
adaptations, compilations, and works that incorporate the Software in
13+
whole or in part.
14+
15+
"Excluded Entity" means any entity listed in the Excluded Entities
16+
Schedule below, together with (a) any entity that directly or indirectly
17+
controls, is controlled by, or is under common control with such listed
18+
entity, where "control" means ownership of more than fifty percent (50%)
19+
of the voting securities or equivalent ownership interest; (b) any
20+
successor or assign of such listed entity; and (c) any agent, contractor,
21+
or representative acting on behalf of or for the benefit of such listed
22+
entity.
23+
24+
"You" means the individual or entity exercising rights under this
25+
License. If You are acting on behalf of an entity, "You" includes that
26+
entity.
27+
28+
2. Grant of Rights.
29+
30+
Subject to the terms and conditions of this License, the copyright holder
31+
hereby grants You a perpetual, worldwide, non-exclusive, royalty-free
32+
license to use, copy, modify, merge, publish, distribute, sublicense,
33+
and/or sell copies of the Software and Derivative Works, and to permit
34+
persons to whom the Software is furnished to do so, subject to the
35+
following conditions:
36+
37+
(a) The above copyright notice and this permission notice (including the
38+
Excluded Entities Schedule) shall be included in all copies or
39+
substantial portions of the Software.
40+
41+
(b) Any Derivative Work distributed in source form must carry prominent
42+
notices stating that You changed the files.
43+
44+
3. Excluded Entities.
45+
46+
Notwithstanding Section 2, NO rights are granted under this License to
47+
any Excluded Entity. Any Excluded Entity is expressly prohibited from
48+
using, copying, modifying, merging, publishing, distributing,
49+
sublicensing, selling, or otherwise exploiting the Software or any
50+
Derivative Work, whether directly or through any intermediary.
51+
52+
For the avoidance of doubt, this prohibition extends to:
53+
(a) internal use by the Excluded Entity;
54+
(b) incorporation of the Software into any product or service offered
55+
by the Excluded Entity;
56+
(c) use by any contractor, consultant, or third party acting on behalf
57+
of, at the direction of, or for the benefit of the Excluded Entity;
58+
(d) any use funded, directed, or commissioned by the Excluded Entity.
59+
60+
Any attempt by an Excluded Entity to exercise rights under this License
61+
is void and constitutes copyright infringement.
62+
63+
4. Patent Grant.
64+
65+
Subject to the terms and conditions of this License (including the
66+
exclusion in Section 3), each contributor to this Software hereby grants
67+
You a perpetual, worldwide, non-exclusive, royalty-free, irrevocable
68+
patent license to make, have made, use, offer to sell, sell, import, and
69+
otherwise transfer the Software, where such license applies only to those
70+
patent claims licensable by such contributor that are necessarily
71+
infringed by their contribution alone or by combination of their
72+
contribution with the Software.
73+
74+
5. Disclaimer of Warranty.
75+
76+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
77+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
78+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
79+
80+
6. Limitation of Liability.
81+
82+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
83+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
84+
OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
85+
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
86+
87+
7. Severability.
88+
89+
If any provision of this License is held to be unenforceable or invalid,
90+
that provision shall be enforced to the maximum extent possible, and the
91+
remaining provisions shall continue in full force and effect.
92+
93+
8. Governing Law.
94+
95+
This License shall be governed by and construed in accordance with the
96+
laws of the jurisdiction in which the copyright holder resides, without
97+
regard to conflict of laws principles.
98+
99+
--- EXCLUDED ENTITIES SCHEDULE ---
100+
101+
The following entities are Excluded Entities as defined in Section 1:
102+
103+
1. Anduril Industries, Inc.

LICENSE-APACHE

Lines changed: 0 additions & 200 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,8 @@ nonzero :: QuectoVm -> Register -> IO (Maybe Int64)
197197

198198
## License
199199

200-
MIT OR Apache-2.0
200+
Custom license (source-available). Based on the MIT license with an entity exclusion clause.
201+
See [LICENSE](LICENSE) for full terms.
202+
203+
**Note:** This software was previously dual-licensed under MIT OR Apache-2.0. Versions prior
204+
to this change remain available under those terms.

hsrs-codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "hsrs-codegen"
33
version = "0.0.0-dev"
44
edition = "2024"
5-
license = "MIT OR Apache-2.0"
5+
license-file = "../LICENSE"
66
description = "Haskell code generator for hsrs FFI bindings"
77
repository = "https://github.com/harmont-dev/hsrs"
88
readme = "../README.md"

0 commit comments

Comments
 (0)