neovim: Specify licenses for plugins

This commit is contained in:
Simon Bruder 2021-01-03 13:46:38 +01:00
parent 4d5dcd358d
commit dbb56d4008
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
languageClientSettings = pkgs.writeText "LanguageClient.json" (builtins.toJSON {
rust.clippy_preference = "on";
@ -11,6 +11,8 @@ let
rev = "df89266d6c03479def77793fd7a0a651986865a5";
sha256 = "0c9b1r49vw6r3yhm6g02janyxw6d9j6bkjmv8zpdav46avmk74fh";
};
meta.license = lib.licenses.mit;
};
vim-openscad = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
name = "vim-openscad";
@ -20,6 +22,8 @@ let
rev = "81db508b1888fdbea994d43ccef1acd86c8af3f7";
sha256 = "1wcdfayjpb9h0lzwdi5nda4c0ch263fdr0379l9k1gf47bgq9cx2";
};
meta.license = lib.licenses.publicDomain;
};
Vim-Jinja2-Syntax = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
name = "Vim-Jinja2-Syntax";
@ -29,6 +33,8 @@ let
rev = "5d2496eb5fd4415c7ce062ccbcd53a3f0de93aa3";
sha256 = "1ss065b2psalli46bs3v13fhaplqydh13bg3jg3zr98wbdn70cws";
};
meta.license = lib.licenses.bsd3;
};
nerdtree-git-plugin = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
name = "nerdtree-git-plugin";
@ -38,6 +44,8 @@ let
rev = "5fa0e3e1487b17f8a23fc2674ebde5f55ce6a816";
sha256 = "0nwb3jla0rsg9vb52n24gjis9k4fwn38iqk13ixxd6w5pnn8ax9j";
};
meta.license = lib.licenses.wtfpl;
};
pyls-black = pkgs.python3Packages.buildPythonPackage rec {
pname = "pyls-black";
@ -58,6 +66,8 @@ let
postPatch = ''
sed -i 's/python-language-server; //' setup.cfg
'';
meta.license = lib.licenses.mit;
};
pyls = (pkgs.python3Packages.python-language-server.override {
providers = [