pub-solar-os/pkgs/shells/zsh/pure/default.nix

30 lines
687 B
Nix
Raw Normal View History

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