2019-08-10 09:43:55 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pure-prompt";
|
|
|
|
version = "1.12.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sindresorhus";
|
|
|
|
repo = "pure";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1h04z7rxmca75sxdfjgmiyf1b5z2byfn6k4srls211l0wnva2r5y";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
OUTDIR="$out/share/zsh/site-functions"
|
|
|
|
mkdir -p "$OUTDIR"
|
|
|
|
cp pure.zsh "$OUTDIR/prompt_pure_setup"
|
|
|
|
cp async.zsh "$OUTDIR/async"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pretty, minimal and fast ZSH prompt";
|
|
|
|
homepage = https://github.com/sindresorhus/pure;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2020-05-09 05:21:37 +01:00
|
|
|
maintainers = with maintainers; [ pacien pablovsky ];
|
2019-08-10 09:43:55 +01:00
|
|
|
};
|
|
|
|
}
|