summary refs log tree commit diff
path: root/pkgs/shells/zsh/zsh-z
diff options
context:
space:
mode:
authorJonathan Wilkins <jonathan@wilkins.tech>2021-04-26 17:35:17 +0100
committerJonathan Wilkins <jonathan@wilkins.tech>2021-04-30 14:00:41 +0100
commita690b4e1230d98e74522655134fe3ee4d6585f4b (patch)
tree0e771435d74c5a31c6206c25a80cf9ab438605e3 /pkgs/shells/zsh/zsh-z
parentd490493d0056cd0f54e52a70bd6a4292bcb67512 (diff)
downloadnixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.tar
nixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.tar.gz
nixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.tar.bz2
nixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.tar.lz
nixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.tar.xz
nixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.tar.zst
nixpkgs-a690b4e1230d98e74522655134fe3ee4d6585f4b.zip
zsh-z: init at unstable-2021-02-15
Diffstat (limited to 'pkgs/shells/zsh/zsh-z')
-rw-r--r--pkgs/shells/zsh/zsh-z/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-z/default.nix b/pkgs/shells/zsh/zsh-z/default.nix
new file mode 100644
index 00000000000..9623ff6648c
--- /dev/null
+++ b/pkgs/shells/zsh/zsh-z/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenvNoCC, fetchFromGitHub }:
+
+stdenvNoCC.mkDerivation rec {
+  pname = "zsh-z";
+  version = "unstable-2021-02-15";
+
+  src = fetchFromGitHub {
+    owner = "agkozak";
+    repo = pname;
+    rev = "595c883abec4682929ffe05eb2d088dd18e97557";
+    sha256 = "sha256-HnwUWqzwavh/Qox+siOe5lwTp7PBdiYx+9M0NMNFx00=";
+  };
+
+  dontBuild = true;
+
+  installPhase = ''
+    mkdir -p $out/share/zsh-z
+    cp _zshz zsh-z.plugin.zsh $out/share/zsh-z
+  '';
+
+  meta = with lib; {
+    description = "Jump quickly to directories that you have visited frequently in the past, or recently";
+    homepage = "https://github.com/agkozak/zsh-z";
+    license = licenses.mit;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.evalexpr ];
+  };
+}