treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
committed by
Wolfgang Walther
parent
8bbc115374
commit
567e8dfd8e
@@ -122,11 +122,11 @@ in
|
||||
postInstall = ''
|
||||
sed -i -e 's|''${PLUGIN_DIR}/catppuccin-selected-theme.tmuxtheme|''${TMUX_TMPDIR}/catppuccin-selected-theme.tmuxtheme|g' $target/catppuccin.tmux
|
||||
'';
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/catppuccin/tmux";
|
||||
description = "Soothing pastel theme for Tmux";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
@@ -359,11 +359,11 @@ in
|
||||
rev = "28ed7ce3c73a328d8463d4f4aaa6ccb851e520fa";
|
||||
hash = "sha256-tl0SjG/CeolrN7OIHj6MgkB9lFmFgEuJevsSuwVs+78=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/wfxr/tmux-fzf-url";
|
||||
description = "Quickly open urls on your terminal screen";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -412,12 +412,12 @@ in
|
||||
postInstall = ''
|
||||
sed -i -e 's|ruby|${pkgs.ruby}/bin/ruby|g' $target/scripts/tmux-jump.sh
|
||||
'';
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/schasse/tmux-jump";
|
||||
description = "Vimium/Easymotion like navigation for tmux";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ arnarg ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ arnarg ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -468,12 +468,12 @@ in
|
||||
]
|
||||
}
|
||||
'';
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/bcampolo/tmux-lazy-restore";
|
||||
description = "session manager plugin that allows sessions to be lazily restored in order to save memory and processing power";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bbigras ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ bbigras ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -524,12 +524,12 @@ in
|
||||
rev = "11520829210a34dc9c7e5be9dead152eaf3a4423";
|
||||
hash = "sha256-hlhBKC6UzkpUrCanJehs2FxK5SoYBoiGiioXdx6trC4=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/MunifTanjim/tmux-mode-indicator";
|
||||
description = "Plugin that displays prompt indicating currently active Tmux mode";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ aacebedo ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ aacebedo ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -687,11 +687,11 @@ in
|
||||
rev = "16bbde801378a70512059541d104c5ae35be32b9";
|
||||
hash = "sha256-IyYQyIONMnVBwhhcI3anOPxKpv2TfI2KZgJ5o5JtZ8I=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Tmux powerline theme";
|
||||
homepage = "https://github.com/wfxr/tmux-power";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -784,7 +784,7 @@ in
|
||||
rev = "V${version}";
|
||||
hash = "sha256-mLpZQSo8nildawsPxGwkcETNwlRq6O1pfy/VusMNMaw=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/27medkamal/tmux-session-wizard";
|
||||
description = "Tmux plugin for creating and switching between sessions based on recently accessed directories";
|
||||
longDescription = ''
|
||||
@@ -794,9 +794,9 @@ in
|
||||
* Switching sessions
|
||||
* Viewing current or creating new sessions in one popup
|
||||
'';
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ mandos ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ mandos ];
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
@@ -861,12 +861,12 @@ in
|
||||
hash = "sha256-wP3c+p/DM6ve7GUhi0QEzggct7NS4XUa78sVQFSKrfo=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/jabirali/tmux-tilish";
|
||||
description = "Plugin which makes tmux work and feel like i3wm";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ arnarg ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ arnarg ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -880,12 +880,12 @@ in
|
||||
rev = "caf6cbb4c3a32d716dfedc02bc63ec8cf238f632";
|
||||
hash = "sha256-TOS9+eOEMInAgosB3D9KhahudW2i1ZEH+IXEc0RCpU0=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/janoamaral/tokyo-night-tmux";
|
||||
description = "Clean, dark Tmux theme that celebrates the lights of Downtown Tokyo at night";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ redyf ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ redyf ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1108,12 +1108,12 @@ in
|
||||
hash = "sha256-ITZMu2q80deOf0zqgYJDDgWQHWhJEzZlK6lVFPY4FIw=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/tmux-plugins/vim-tmux-focus-events";
|
||||
description = "Makes FocusGained and FocusLost autocommand events work in vim when using tmux";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ronanmacf ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ ronanmacf ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1140,12 +1140,12 @@ in
|
||||
hash = "sha256-of9E/npEsF1JVc9ttwrbC5WkIAwCNBJAgTfExfj79i4=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/xamut/tmux-weather";
|
||||
description = "Shows weather in the status line";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ jfvillablanca ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ jfvillablanca ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1174,12 +1174,12 @@ in
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0LIql8as2+OendEHVqR0F3pmQTxC1oqapwhxT+34lJo=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/o0th/tmux-nova";
|
||||
description = "Tmux-nova theme";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ o0th ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ o0th ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1193,12 +1193,12 @@ in
|
||||
tag = "v${version}";
|
||||
hash = "sha256-tiiM5ETSrceyAyqhYRXjG1qCbjzZ0NJL5GWWbWX7Cbo=";
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/loichyan/tmux-toggle-popup";
|
||||
description = "Handy plugin to create toggleable popups";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ szaffarano ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ szaffarano ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user