Merge pull request #162657 from ambroisie/add-agkozak-zsh-prompt
agkozak-zsh-prompt: init at 3.11.1
This commit is contained in:
commit
710f27aca3
31
pkgs/shells/zsh/agkozak-zsh-prompt/default.nix
Normal file
31
pkgs/shells/zsh/agkozak-zsh-prompt/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "agkozak-zsh-prompt";
|
||||||
|
version = "3.11.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "agkozak";
|
||||||
|
repo = "agkozak-zsh-prompt";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-TOfAWxw1uIV0hKV9o4EJjOlp+jmGWCONDex86ipegOY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
plugindir="$out/share/zsh/site-functions"
|
||||||
|
|
||||||
|
mkdir -p "$plugindir"
|
||||||
|
cp -r -- lib/*.zsh agkozak-zsh-prompt.plugin.zsh prompt_agkozak-zsh-prompt_setup "$plugindir"/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A fast, asynchronous Zsh prompt";
|
||||||
|
homepage = "https://github.com/agkozak/agkozak-zsh-prompt";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16139,6 +16139,8 @@ with pkgs;
|
||||||
|
|
||||||
agg = callPackage ../development/libraries/agg { };
|
agg = callPackage ../development/libraries/agg { };
|
||||||
|
|
||||||
|
agkozak-zsh-prompt = callPackage ../shells/zsh/agkozak-zsh-prompt { };
|
||||||
|
|
||||||
alass = callPackage ../applications/video/alass { };
|
alass = callPackage ../applications/video/alass { };
|
||||||
|
|
||||||
allegro = allegro4;
|
allegro = allegro4;
|
||||||
|
|
Loading…
Reference in a new issue