Skip to content

Commit cd0e425

Browse files
committed
fishPlugins.nvm: init at 2.2.16
1 parent 3d6ac6a commit cd0e425

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

pkgs/shells/fish/plugins/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ lib.makeScope newScope (self: with self; {
5252

5353
hydro = callPackage ./hydro.nix { };
5454

55+
nvm = callPackage ./nvm.nix { };
56+
5557
pisces = callPackage ./pisces.nix { };
5658

5759
plugin-git = callPackage ./plugin-git.nix { };

pkgs/shells/fish/plugins/nvm.nix

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
buildFishPlugin,
3+
fetchFromGitHub,
4+
lib,
5+
}:
6+
buildFishPlugin rec {
7+
pname = "nvm";
8+
version = "2.2.16";
9+
src = fetchFromGitHub {
10+
owner = "jorgebucaran";
11+
repo = "nvm.fish";
12+
tag = version;
13+
hash = "sha256-GTEkCm+OtxMS3zJI5gnFvvObkrpepq1349/LcEPQRDo=";
14+
};
15+
16+
meta = {
17+
description = "The Node.js version manager you'll adore, crafted just for Fish";
18+
homepage = "https://github.com/jorgebucaran/nvm.fish";
19+
changelog = "https://github.com/jorgebucaran/nvm.fish/releases/tag/${version}/CHANGELOG.md";
20+
downloadPage = "https://github.com/jorgebucaran/nvm.fish/releases";
21+
license = lib.licenses.mit;
22+
maintainers = with lib.maintainers; [ pta2002 ];
23+
};
24+
}

0 commit comments

Comments
 (0)