mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
36 lines
739 B
Nix
36 lines
739 B
Nix
{
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
git,
|
|
fishtape_3,
|
|
}:
|
|
|
|
buildFishPlugin rec {
|
|
pname = "pure";
|
|
version = "4.11.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pure-fish";
|
|
repo = "pure";
|
|
rev = "v${version}";
|
|
hash = "sha256-mMUFR/n4aLsmZNbVAYmx57AMXT6U2P+wTuuN3opCeqs=";
|
|
};
|
|
|
|
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; [ euxane ];
|
|
};
|
|
}
|