diff --git a/pkgs/micro-catppuccin/default.nix b/pkgs/micro-catppuccin/default.nix index a616fc25..765b27ed 100644 --- a/pkgs/micro-catppuccin/default.nix +++ b/pkgs/micro-catppuccin/default.nix @@ -1,6 +1,10 @@ -{ stdenv, fetchFromGitHub }: +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: -stdenv.mkDerivation { +stdenvNoCC.mkDerivation { name = "micro-everforest"; src = fetchFromGitHub { owner = "catppuccin"; @@ -16,4 +20,9 @@ stdenv.mkDerivation { installPhase = '' cp -rf src $out/colorschemes ''; + + meta = { + # https://github.com/catppuccin/micro/blob/2802b32308e5b1a827689c095f11ae604bbc85e6/LICENSE + license = lib.licenses.mit; + }; } diff --git a/pkgs/micro-everforest/default.nix b/pkgs/micro-everforest/default.nix index 157f966e..a40480e6 100644 --- a/pkgs/micro-everforest/default.nix +++ b/pkgs/micro-everforest/default.nix @@ -1,6 +1,10 @@ -{ stdenv, fetchFromGitHub }: +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: -stdenv.mkDerivation { +stdenvNoCC.mkDerivation { name = "micro-everforest"; src = fetchFromGitHub { owner = "atomashevic"; @@ -17,4 +21,9 @@ stdenv.mkDerivation { installPhase = '' cp everforest.micro $out/colorschemes ''; + + meta = { + # https://github.com/atomashevic/everforest-micro/blob/3a1844eb88e58c582ac902e27d7cc1b33f43199b/LICENSE + license = lib.licenses.mit; + }; } diff --git a/pkgs/micro-fzfinder/default.nix b/pkgs/micro-fzfinder/default.nix index 75bcf5d4..25d06956 100644 --- a/pkgs/micro-fzfinder/default.nix +++ b/pkgs/micro-fzfinder/default.nix @@ -1,10 +1,10 @@ { lib, - stdenv, + stdenvNoCC, fetchFromGitHub, }: -stdenv.mkDerivation rec { +stdenvNoCC.mkDerivation rec { pname = "micro-fzfinder"; version = "0.2.0"; @@ -24,11 +24,12 @@ stdenv.mkDerivation rec { cp fzfinder.lua $out ''; - meta = with lib; { + meta = { description = "The plugin allows you to integrate fzf to select and search for your project files"; homepage = "https://github.com/MuratovAS/micro-fzfinder"; - license = licenses.mit; + # https://github.com/MuratovAS/micro-fzfinder/blob/7be0adb25d72b557eab9fea5aceaff18d47bff52/LICENSE + license = lib.licenses.mit; mainProgram = "micro-fzfinder"; - platforms = platforms.all; + platforms = lib.platforms.all; }; } diff --git a/pkgs/micro-kdl/default.nix b/pkgs/micro-kdl/default.nix index 1149cdc1..b2e653cc 100644 --- a/pkgs/micro-kdl/default.nix +++ b/pkgs/micro-kdl/default.nix @@ -1,10 +1,10 @@ { lib, - stdenv, + stdenvNoCC, fetchFromGitHub, }: -stdenv.mkDerivation rec { +stdenvNoCC.mkDerivation rec { pname = "micro-kdl"; version = "0.1.0"; @@ -24,11 +24,11 @@ stdenv.mkDerivation rec { cp kdl.* $out ''; - meta = with lib; { + meta = { description = "Micro editor syntax highlighting for KDL"; homepage = "https://github.com/kachick/micro-kdl"; - license = licenses.mit; + license = lib.licenses.mit; mainProgram = "micro-kdl"; - platforms = platforms.all; + platforms = lib.platforms.all; }; } diff --git a/pkgs/micro-nordcolors/default.nix b/pkgs/micro-nordcolors/default.nix index 857c46ee..cd66a8da 100644 --- a/pkgs/micro-nordcolors/default.nix +++ b/pkgs/micro-nordcolors/default.nix @@ -1,6 +1,10 @@ -{ stdenv, fetchFromGitHub }: +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: -stdenv.mkDerivation { +stdenvNoCC.mkDerivation { name = "micro-nordcolors"; src = fetchFromGitHub { owner = "KiranWells"; @@ -19,4 +23,9 @@ stdenv.mkDerivation { cp -rf ./colorschemes $out/colorschemes cp -rf ./help $out/help ''; + + meta = { + # https://github.com/KiranWells/micro-nord-tc-colors/blob/f63c855735f755704c25c958abe45f12a4b2c8d3/LICENSE + license = lib.licenses.mit; + }; }