treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
cp -r rc $out/share/kak/autoload/plugins/auto-pairs
'';
meta = with stdenv.lib;
meta = with lib;
{ description = "Kakoune extension to enable automatic closing of pairs";
homepage = "https://github.com/alexherbo2/auto-pairs.kak";
license = licenses.unlicense;
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
cp -r buffers.kak $out/share/kak/autoload/plugins
'';
meta = with stdenv.lib;
meta = with lib;
{ description = "Ease navigation between opened buffers in Kakoune";
homepage = "https://github.com/Delapouite/kakoune-buffers";
license = licenses.mit;
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fzf }:
assert stdenv.lib.asserts.assertOneOf "fzf" fzf.pname [ "fzf" "skim" ];
assert lib.asserts.assertOneOf "fzf" fzf.pname [ "fzf" "skim" ];
stdenv.mkDerivation {
name = "kak-fzf";
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
cp -r rc $out/share/kak/autoload/plugins/fzf
'';
meta = with stdenv.lib;
meta = with lib;
{ description = "Kakoune plugin that brings integration with fzf";
homepage = "https://github.com/andreyorst/fzf.kak";
license = licenses.mit;
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
cp -r rc $out/share/kak/autoload/plugins/powerline
'';
meta = with stdenv.lib;
meta = with lib;
{ description = "Kakoune modeline, but with passion";
homepage = "https://github.com/andreyorst/powerline.kak";
license = licenses.mit;
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
cp -r rc $out/share/kak/autoload/plugins/prelude
'';
meta = with stdenv.lib;
meta = with lib;
{ description = "Prelude of shell blocks for Kakoune.";
homepage = "https://github.com/alexherbo2/prelude.kak";
license = licenses.unlicense;
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
cp -r vertical-selection.kak $out/share/kak/autoload/plugins
'';
meta = with stdenv.lib;
meta = with lib;
{ description = "Select up and down lines that match the same pattern in Kakoune";
homepage = "https://github.com/occivink/kakoune-vertical-selection";
license = licenses.unlicense;
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sed -e 's,[|] *lua,|${lua5_3}/bin/lua,' quickscope.kak >$out/share/kak/autoload/plugins/quickscope.kak
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Highlight f and t jump positions";
homepage = "https://sr.ht/~voroskoi/quickscope.kak/";
license = licenses.unlicense;