Skip to content

Commit

Permalink
fishPlugins.fish-bd: init at 1.3.3 (#318932)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Sep 30, 2024
2 parents a0b90a2 + b85717a commit 23887af
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/shells/fish/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ lib.makeScope newScope (self: with self; {

fifc = callPackage ./fifc.nix { };

fish-bd = callPackage ./fish-bd.nix { };

# Fishtape 2.x and 3.x aren't compatible,
# but both versions are used in the tests of different other plugins.
fishtape = callPackage ./fishtape.nix { };
Expand Down
26 changes: 26 additions & 0 deletions pkgs/shells/fish/plugins/fish-bd.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
lib,
buildFishPlugin,
fetchFromGitHub,
gitUpdater,
}:
buildFishPlugin rec {
pname = "fish-bd";
version = "1.3.3";

src = fetchFromGitHub {
owner = "0rax";
repo = "fish-bd";
rev = "v${version}";
hash = "sha256-GeWjoakXa0t2TsMC/wpLEmsSVGhHFhBVK3v9eyQdzv0=";
};

passthru.updateScript = gitUpdater { rev-prefix = "v"; };

meta = {
description = "Fish plugin to quickly go back to a parent directory up in your current working directory tree";
homepage = "https://github.com/0rax/fish-bd";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ anomalocaris ];
};
}

0 comments on commit 23887af

Please sign in to comment.