Files
nixpkgs/pkgs/shells/fish/plugins/pure.nix
2026-08-15 02:20:35 +02:00

35 lines
755 B
Nix

{
lib,
buildFishPlugin,
fetchFromGitHub,
git,
fishtape_3,
}:
buildFishPlugin (finalAttrs: {
pname = "pure";
version = "4.18.0";
src = fetchFromGitHub {
owner = "pure-fish";
repo = "pure";
tag = "v${finalAttrs.version}";
hash = "sha256-KV43PlJmAjQxoNHWJRhAYUyzaqhKwLJSTeuo3cX98AA=";
};
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/pure-fish/pure";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ euxane ];
};
})