1{
2 lib,
3 buildFishPlugin,
4 fetchFromGitHub,
5 gitUpdater,
6}:
7buildFishPlugin rec {
8 pname = "fish-bd";
9 version = "1.3.3";
10
11 src = fetchFromGitHub {
12 owner = "0rax";
13 repo = "fish-bd";
14 rev = "v${version}";
15 hash = "sha256-GeWjoakXa0t2TsMC/wpLEmsSVGhHFhBVK3v9eyQdzv0=";
16 };
17
18 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
19
20 meta = {
21 description = "Fish plugin to quickly go back to a parent directory up in your current working directory tree";
22 homepage = "https://github.com/0rax/fish-bd";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ anomalocaris ];
25 };
26}