summaryrefslogtreecommitdiff
path: root/pkgs/shells/fish/plugins/plugin-git.nix
blob: 523d90582e298239f93fe0ff432038a1a6f96add (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
27
28
{
  lib,
  buildFishPlugin,
  fetchFromGitHub,
}:

buildFishPlugin rec {
  pname = "plugin-git";
  version = "0.4";

  src = fetchFromGitHub {
    owner = "jhillyerd";
    repo = "plugin-git";
    tag = "v${version}";
    hash = "sha256-2+CX9ZGNkois7h3m30VG19Cf4ykRdoiPpEVxJMk75I4=";
  };

  meta = {
    description = "Git plugin for fish (similar to oh-my-zsh git)";
    homepage = "https://github.com/jhillyerd/plugin-git";
    changelog = "https://github.com/jhillyerd/plugin-git/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      GaetanLepage
      unsolvedcypher
    ];
  };
}