depot/pkgs/shells/fish/plugins/fish-bd.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
629 B
Nix

{
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 ];
};
}