mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
Merge pull request #66427 from pacien/pure-prompt-1.10.3
pure-prompt: init at 1.12.0
This commit is contained in:
commit
0300b47dd5
30
pkgs/shells/zsh/pure-prompt/default.nix
Normal file
30
pkgs/shells/zsh/pure-prompt/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ 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;
|
||||
maintainers = with maintainers; [ pacien pablovsky ];
|
||||
};
|
||||
}
|
|
@ -6132,6 +6132,8 @@ in
|
|||
|
||||
pubs = callPackage ../tools/misc/pubs {};
|
||||
|
||||
pure-prompt = callPackage ../shells/zsh/pure-prompt { };
|
||||
|
||||
pv = callPackage ../tools/misc/pv { };
|
||||
|
||||
pwgen = callPackage ../tools/security/pwgen { };
|
||||
|
|
Loading…
Reference in a new issue