forked from mirrors/nixpkgs
Merge pull request #220912 from figsoda/fish-async-prompt
This commit is contained in:
commit
3eb31802d9
20
pkgs/shells/fish/plugins/async-prompt.nix
Normal file
20
pkgs/shells/fish/plugins/async-prompt.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue