nixpkgs/pkgs/by-name/pu/pure-prompt/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
729 B
Nix
Raw Normal View History

2021-01-15 06:28:56 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "pure-prompt";
2024-02-29 03:17:20 +00:00
version = "1.23.0";
src = fetchFromGitHub {
owner = "sindresorhus";
repo = "pure";
rev = "v${version}";
2024-02-29 03:17:20 +00:00
sha256 = "sha256-BmQO4xqd/3QnpLUitD2obVxL0UulpboT8jGNEh4ri8k=";
};
2022-05-06 18:39:28 +00:00
strictDeps = true;
installPhase = ''
OUTDIR="$out/share/zsh/site-functions"
mkdir -p "$OUTDIR"
cp pure.zsh "$OUTDIR/prompt_pure_setup"
cp async.zsh "$OUTDIR/async"
'';
2024-08-13 20:14:20 +00:00
meta = with lib; {
description = "Pretty, minimal and fast ZSH prompt";
2020-08-12 17:50:50 +00:00
homepage = "https://github.com/sindresorhus/pure";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ pacien pablovsky ];
};
}