summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorVanilla <osu_Vanilla@126.com>2021-10-08 16:11:53 +0800
committerVanilla <osu_Vanilla@126.com>2021-10-08 16:11:53 +0800
commit16c2bce1fb13931cf277e2919c1ec9fbf3392509 (patch)
tree545a77398c5ff2cc2b791a9e0d3f713312ccd4ab /pkgs/shells/fish
parent9f449eaf24c8e7f0f68fdab528d67c484d57db89 (diff)
downloadnixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.tar
nixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.tar.gz
nixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.tar.bz2
nixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.tar.lz
nixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.tar.xz
nixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.tar.zst
nixpkgs-16c2bce1fb13931cf277e2919c1ec9fbf3392509.zip
fishPlugins.pisces: init at 0.7.0
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/pisces.nix20
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix
index 0ce172ec489..ab244d282ec 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -19,6 +19,8 @@ lib.makeScope newScope (self: with self; {
 
   fzf-fish = callPackage ./fzf-fish.nix { };
 
+  pisces = callPackage ./pisces.nix { };
+
   pure = callPackage ./pure.nix { };
 
 })
diff --git a/pkgs/shells/fish/plugins/pisces.nix b/pkgs/shells/fish/plugins/pisces.nix
new file mode 100644
index 00000000000..c1ed37f4122
--- /dev/null
+++ b/pkgs/shells/fish/plugins/pisces.nix
@@ -0,0 +1,20 @@
+{ lib, buildFishPlugin, fetchFromGitHub }:
+
+buildFishPlugin rec {
+  pname = "pisces";
+  version = "0.7.0";
+
+  src = fetchFromGitHub {
+    owner = "laughedelic";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-Oou2IeNNAqR00ZT3bss/DbhrJjGeMsn9dBBYhgdafBw=";
+  };
+
+  meta = with lib; {
+    description = "Paired symbols in the command line";
+    homepage = "https://github.com/laughedelic/pisces";
+    license = licenses.lgpl3;
+    maintainers = with maintainers; [ vanilla ];
+  };
+}