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

29 lines
702 B
Nix
Raw Normal View History

2020-01-07 21:05:38 +01:00
{ stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform }:
stdenv.mkDerivation rec {
2020-06-19 22:55:30 +02:00
pname = "pure";
2020-01-07 21:05:38 +01:00
version = "0e87bd8";
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;
};
}