Unverified Commit 23887af5 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

fishPlugins.fish-bd: init at 1.3.3 (#318932)

parents a0b90a25 b85717ad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 { };
+26 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}