From ed1ee66b06add4c22e4922ffa762f097355c7431 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 27 Oct 2021 08:02:57 +0530 Subject: add MIT license --- LICENSE | 20 ++++++++++++++++++++ bin/Cargo.toml | 1 + flake.nix | 6 ++++++ lib/Cargo.toml | 1 + macros/Cargo.toml | 1 + vfs/Cargo.toml | 1 + 6 files changed, 30 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2334bf6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright 2021 Akshay Oppiliappan (nerdy@peppe.rs) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/bin/Cargo.toml b/bin/Cargo.toml index c5f222b..481217a 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -2,6 +2,7 @@ name = "statix" version = "0.2.0" edition = "2018" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/flake.nix b/flake.nix index 9bef554..ba1c431 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,12 @@ installPhase = '' install -Dm775 ./target/release/statix $out/bin/statix ''; + + meta = with pkgs.lib; { + description = "Lints and suggestions for the Nix programming language"; + homepage = "https://git.peppe.rs/languages/statix/about"; + license = licenses.mit; + }; }; }; diff --git a/lib/Cargo.toml b/lib/Cargo.toml index b876c4c..54b9c52 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -2,6 +2,7 @@ name = "lib" version = "0.0.0" edition = "2018" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/macros/Cargo.toml b/macros/Cargo.toml index ae24eee..4b310ad 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -2,6 +2,7 @@ name = "macros" version = "0.0.0" edition = "2018" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vfs/Cargo.toml b/vfs/Cargo.toml index b8aa8d9..7a5dc6b 100644 --- a/vfs/Cargo.toml +++ b/vfs/Cargo.toml @@ -2,6 +2,7 @@ name = "vfs" version = "0.0.0" edition = "2018" +license = "MIT" [dependencies] indexmap = "1.6.2" -- cgit v1.2.3