aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Czihak <git@dcz.at>2026-05-07 16:14:48 +0200
committerDavid Czihak <git@dcz.at>2026-05-07 16:14:48 +0200
commit6816e68caff99844adf145856a6b0fc8053ff808 (patch)
tree60c04c7762c9f305a91a52540f266362872369b6
parentddf2de739068b5ff0866ccb1d067f3cb53a4fc55 (diff)
Chore: Clarify third-party licences for bundled assets and grammar
-rw-r--r--LICENSE5
-rw-r--r--NOTICES.md66
-rw-r--r--README.md16
3 files changed, 84 insertions, 3 deletions
diff --git a/LICENSE b/LICENSE
index 2cf9f45..052ff1c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2,6 +2,11 @@ BSD 2-Clause License
2 2
3Copyright 2026 David Czihak 3Copyright 2026 David Czihak
4 4
5This license applies to the source code of this extension. Bundled image
6and icon assets, and the vendored Tree-sitter Zig grammar, are covered
7by separate licenses; see NOTICES.md for details.
8
9
5Redistribution and use in source and binary forms, with or without modification, 10Redistribution and use in source and binary forms, with or without modification,
6are permitted provided that the following conditions are met: 11are permitted provided that the following conditions are met:
7 12
diff --git a/NOTICES.md b/NOTICES.md
new file mode 100644
index 0000000..3ee7700
--- /dev/null
+++ b/NOTICES.md
@@ -0,0 +1,66 @@
1# Third-Party Notices
2
3This Nova extension bundles material under licenses different from the
4BSD 2-Clause license that covers its own source code (see `LICENSE`).
5Each section below identifies the affected files and the license that
6governs them.
7
8---
9
10## Zig Software Foundation logo — CC BY-SA 4.0
11
12The following image and icon assets are derivatives of the Zig
13programming language logo, which is the work of the
14[Zig Software Foundation](https://ziglang.org) and is licensed under
15[Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/):
16
17- `extension.png`
18- `extension@2x.png`
19- `Images/zig-debug/zig-debug.png`
20- `Images/zig-debug/zig-debug@2x.png`
21- `Resources/Zig@32px.af`
22
23These assets remain licensed under CC BY-SA 4.0; redistribution must
24retain that license and provide attribution to the Zig Software
25Foundation. They are *not* covered by the BSD 2-Clause license that
26applies to the rest of this repository.
27
28The `@2x` variants and the `.af` icon were rasterised and pixel-aligned
29from the original logo; no other changes were made.
30
31---
32
33## Vendored tree-sitter-zig grammar — MIT
34
35The compiled parser shipped at `Syntaxes/libtree-sitter-zig.dylib` is
36built from the Tree-sitter grammar at
37[github.com/tree-sitter-grammars/tree-sitter-zig](https://github.com/tree-sitter-grammars/tree-sitter-zig).
38The pinned upstream commit is recorded in
39`vendor/tree-sitter-zig/VENDORING.md`.
40
41The grammar is distributed under the MIT License:
42
43> The MIT License (MIT)
44>
45> Copyright (c) 2024 Amaan Qureshi <amaanq12@gmail.com>
46>
47> Permission is hereby granted, free of charge, to any person obtaining a copy
48> of this software and associated documentation files (the "Software"), to deal
49> in the Software without restriction, including without limitation the rights
50> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51> copies of the Software, and to permit persons to whom the Software is
52> furnished to do so, subject to the following conditions:
53>
54> The above copyright notice and this permission notice shall be included in all
55> copies or substantial portions of the Software.
56>
57> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
63> SOFTWARE.
64
65The unmodified upstream copy of this license is preserved at
66`vendor/tree-sitter-zig/LICENSE`.
diff --git a/README.md b/README.md
index 46218d9..16c6443 100644
--- a/README.md
+++ b/README.md
@@ -80,8 +80,18 @@ Validate the extension bundle:
80/Applications/Nova.app/Contents/SharedSupport/nova extension validate . 80/Applications/Nova.app/Contents/SharedSupport/nova extension validate .
81``` 81```
82 82
83## Attributions 83## License
84 84
85The Zig logo is the work of the [Zig Software Foundation](https://ziglang.org) and is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). The zig-debug@2x.png is a derivative of the original logo, improving pixel alignment at 32px size. 85The extension's source code is licensed under the BSD 2-Clause License
86(see [`LICENSE`](LICENSE)). Bundled assets and vendored third-party
87code carry their own licenses, documented in
88[`NOTICES.md`](NOTICES.md):
86 89
87The Tree-sitter grammar for Zig is sourced from [github.com/tree-sitter-grammars/tree-sitter-zig](https://github.com/tree-sitter-grammars/tree-sitter-zig). 90- The Zig logo and the icon/image assets derived from it
91 (`extension.png`, `extension@2x.png`, `Images/zig-debug/*.png`,
92 `Resources/Zig@32px.af`) are the work of the
93 [Zig Software Foundation](https://ziglang.org) and remain licensed
94 under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
95- The Tree-sitter grammar for Zig is sourced from
96 [github.com/tree-sitter-grammars/tree-sitter-zig](https://github.com/tree-sitter-grammars/tree-sitter-zig)
97 and is distributed under the MIT License.