depot/third_party/nixpkgs/pkgs/shells/fish/plugins/pure.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02: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 ];
};
}