diff options
| -rw-r--r-- | LICENSE | 5 | ||||
| -rw-r--r-- | NOTICES.md | 66 | ||||
| -rw-r--r-- | README.md | 16 |
3 files changed, 84 insertions, 3 deletions
| @@ -2,6 +2,11 @@ BSD 2-Clause License | |||
| 2 | 2 | ||
| 3 | Copyright 2026 David Czihak | 3 | Copyright 2026 David Czihak |
| 4 | 4 | ||
| 5 | This license applies to the source code of this extension. Bundled image | ||
| 6 | and icon assets, and the vendored Tree-sitter Zig grammar, are covered | ||
| 7 | by separate licenses; see NOTICES.md for details. | ||
| 8 | |||
| 9 | |||
| 5 | Redistribution and use in source and binary forms, with or without modification, | 10 | Redistribution and use in source and binary forms, with or without modification, |
| 6 | are permitted provided that the following conditions are met: | 11 | are 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 | |||
| 3 | This Nova extension bundles material under licenses different from the | ||
| 4 | BSD 2-Clause license that covers its own source code (see `LICENSE`). | ||
| 5 | Each section below identifies the affected files and the license that | ||
| 6 | governs them. | ||
| 7 | |||
| 8 | --- | ||
| 9 | |||
| 10 | ## Zig Software Foundation logo — CC BY-SA 4.0 | ||
| 11 | |||
| 12 | The following image and icon assets are derivatives of the Zig | ||
| 13 | programming 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 | |||
| 23 | These assets remain licensed under CC BY-SA 4.0; redistribution must | ||
| 24 | retain that license and provide attribution to the Zig Software | ||
| 25 | Foundation. They are *not* covered by the BSD 2-Clause license that | ||
| 26 | applies to the rest of this repository. | ||
| 27 | |||
| 28 | The `@2x` variants and the `.af` icon were rasterised and pixel-aligned | ||
| 29 | from the original logo; no other changes were made. | ||
| 30 | |||
| 31 | --- | ||
| 32 | |||
| 33 | ## Vendored tree-sitter-zig grammar — MIT | ||
| 34 | |||
| 35 | The compiled parser shipped at `Syntaxes/libtree-sitter-zig.dylib` is | ||
| 36 | built from the Tree-sitter grammar at | ||
| 37 | [github.com/tree-sitter-grammars/tree-sitter-zig](https://github.com/tree-sitter-grammars/tree-sitter-zig). | ||
| 38 | The pinned upstream commit is recorded in | ||
| 39 | `vendor/tree-sitter-zig/VENDORING.md`. | ||
| 40 | |||
| 41 | The 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 | |||
| 65 | The unmodified upstream copy of this license is preserved at | ||
| 66 | `vendor/tree-sitter-zig/LICENSE`. | ||
| @@ -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 | ||
| 85 | The 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. | 85 | The extension's source code is licensed under the BSD 2-Clause License |
| 86 | (see [`LICENSE`](LICENSE)). Bundled assets and vendored third-party | ||
| 87 | code carry their own licenses, documented in | ||
| 88 | [`NOTICES.md`](NOTICES.md): | ||
| 86 | 89 | ||
| 87 | The 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. | ||
