mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
fishPlugins.pure: init at 3.4.2
This commit is contained in:
parent
3a987feae1
commit
59c1b6d0e7
@ -6,4 +6,6 @@ lib.makeScope newScope (self: with self; {
|
||||
|
||||
fishtape = callPackage ./fishtape.nix { };
|
||||
|
||||
pure = callPackage ./pure.nix { };
|
||||
|
||||
})
|
||||
|
29
pkgs/shells/fish/plugins/pure.nix
Normal file
29
pkgs/shells/fish/plugins/pure.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape }:
|
||||
|
||||
buildFishPlugin rec {
|
||||
pname = "pure";
|
||||
version = "3.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rafaelrinaldi";
|
||||
repo = "pure";
|
||||
rev = "v${version}";
|
||||
sha256 = "134sz3f98gb6z2vgd5kkm6dd8pka5gijk843c32s616w35y07sga";
|
||||
};
|
||||
|
||||
checkInputs = [ git ];
|
||||
checkFunctionPath = [ fishtape ];
|
||||
checkPhase = ''
|
||||
# https://github.com/rafaelrinaldi/pure/issues/264
|
||||
rm tests/_pure_string_width.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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user