From 73f2151877e6871f6c6d80415ea811314e8f423b Mon Sep 17 00:00:00 2001 From: figsoda Date: Sun, 12 Mar 2023 19:34:00 -0400 Subject: [PATCH] fishPlugins.async-prompt: init at 1.2.0 --- pkgs/shells/fish/plugins/async-prompt.nix | 20 ++++++++++++++++++++ pkgs/shells/fish/plugins/default.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/shells/fish/plugins/async-prompt.nix diff --git a/pkgs/shells/fish/plugins/async-prompt.nix b/pkgs/shells/fish/plugins/async-prompt.nix new file mode 100644 index 000000000000..ff3a1e6d9891 --- /dev/null +++ b/pkgs/shells/fish/plugins/async-prompt.nix @@ -0,0 +1,20 @@ +{ lib, buildFishPlugin, fetchFromGitHub }: + +buildFishPlugin rec { + pname = "async-prompt"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "acomagu"; + repo = "fish-async-prompt"; + rev = "v${version}"; + hash = "sha256-B7Ze0a5Zp+5JVsQUOv97mKHh5wiv3ejsDhJMrK7YOx4="; + }; + + meta = with lib; { + description = "Make your prompt asynchronous to improve the reactivity"; + homepage = "https://github.com/acomagu/fish-async-prompt"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 9197c4907fdf..8f8dd128c847 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -1,6 +1,8 @@ { lib, newScope, config }: lib.makeScope newScope (self: with self; { + async-prompt = callPackage ./async-prompt.nix { }; + autopair = callPackage ./autopair.nix { }; buildFishPlugin = callPackage ./build-fish-plugin.nix { };