summaryrefslogtreecommitdiff
path: root/pkgs/shells/fish/plugins/fish-bd.nix
blob: 154fc621338976fbc209dd02ecf2d35999832b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 ];
  };
}