nixpkgs-suyu/pkgs/shells/fish/plugins/pure.nix
2023-08-31 10:36:08 +00:00

29 lines
727 B
Nix

{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape_3 }:
buildFishPlugin rec {
pname = "pure";
version = "4.8.0";
src = fetchFromGitHub {
owner = "pure-fish";
repo = "pure";
rev = "v${version}";
hash = "sha256-O8rC2uCuM3xUQPRap7XqyyAvO77hP+sqNM4mEQ7pZkw=";
};
nativeCheckInputs = [ git ];
checkPlugins = [ fishtape_3 ];
checkPhase = ''
rm tests/pure_tools_installer.test.fish
rm tests/_pure_uninstall.test.fish
fishtape tests/*.test.fish
'';
meta = {
description = "Pretty, minimal and fast Fish prompt, ported from zsh";
homepage = "https://github.com/rafaelrinaldi/pure";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pacien ];
};
}