ark/pkgs/shells/zsh/pure/default.nix

30 lines
687 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
let version = "0e87bd8";
2020-07-31 07:17:28 +03:00
in
stdenv.mkDerivation {
2020-06-19 23:55:30 +03:00
pname = "pure";
inherit version;
2020-01-07 23:05:38 +03:00
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 ];
license = licenses.mit;
inherit version;
};
}