os/pkgs/shells/zsh/pure/default.nix
2020-12-27 21:07:40 -07:00

31 lines
719 B
Nix

{ stdenv, fetchFromGitHub }:
let version = "0e87bd8";
in
stdenv.mkDerivation {
pname = "pure";
inherit version;
srcs = fetchFromGitHub {
owner = "sindresorhus";
repo = "pure";
rev = "0e87bd897bb67049329c55174dcc643926337b01";
hash = "sha256-JytsTviVHphYnP5KTbSkbaiNeg2fMufYc6r0X0SQyqI=";
};
buildPhase = "true";
installPhase = ''
mkdir -p $out/share/zsh/plugins/pure
cp -r ./ $out/share/zsh/plugins/pure
'';
meta = with stdenv.lib; {
description = "Pretty, minimal and fast ZSH prompt";
homepage = "https://github.com/sindresorhus/pure";
maintainers = [ maintainers.nrdxp ];
platforms = platforms.unix;
license = licenses.mit;
inherit version;
};
}