1{
2 buildFishPlugin,
3 fetchFromGitHub,
4 lib,
5}:
6buildFishPlugin rec {
7 pname = "nvm";
8 version = "2.2.17";
9 src = fetchFromGitHub {
10 owner = "jorgebucaran";
11 repo = "nvm.fish";
12 tag = version;
13 hash = "sha256-BNnoP9gLQuZQt/0SOOsZaYOexNN2K7PKWT/paS0BJJY=";
14 };
15
16 meta = {
17 description = "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}