summaryrefslogtreecommitdiff
path: root/pkgs/shells/fish/plugins/nvm.nix
blob: 03a0f9137b98c608ab6b03a17194b58f454b0b53 (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
{
  buildFishPlugin,
  fetchFromGitHub,
  lib,
}:
buildFishPlugin rec {
  pname = "nvm";
  version = "2.2.17";
  src = fetchFromGitHub {
    owner = "jorgebucaran";
    repo = "nvm.fish";
    tag = version;
    hash = "sha256-BNnoP9gLQuZQt/0SOOsZaYOexNN2K7PKWT/paS0BJJY=";
  };

  meta = {
    description = "Node.js version manager you'll adore, crafted just for Fish";
    homepage = "https://github.com/jorgebucaran/nvm.fish";
    changelog = "https://github.com/jorgebucaran/nvm.fish/releases/tag/${version}/CHANGELOG.md";
    downloadPage = "https://github.com/jorgebucaran/nvm.fish/releases";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ pta2002 ];
  };
}