1{
2 lib,
3 buildFishPlugin,
4 fetchFromGitHub,
5 git,
6 fishtape_3,
7}:
8
9buildFishPlugin rec {
10 pname = "pure";
11 version = "4.11.3";
12
13 src = fetchFromGitHub {
14 owner = "pure-fish";
15 repo = "pure";
16 rev = "v${version}";
17 hash = "sha256-mMUFR/n4aLsmZNbVAYmx57AMXT6U2P+wTuuN3opCeqs=";
18 };
19
20 nativeCheckInputs = [ git ];
21 checkPlugins = [ fishtape_3 ];
22 checkPhase = ''
23 rm tests/pure_tools_installer.test.fish
24 rm tests/_pure_uninstall.test.fish
25
26 fishtape tests/*.test.fish
27 '';
28
29 meta = {
30 description = "Pretty, minimal and fast Fish prompt, ported from zsh";
31 homepage = "https://github.com/pure-fish/pure";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ euxane ];
34 };
35}