fishPlugins.nvm: init at 2.2.16

This commit is contained in:
Pedro Alves
2025-02-03 13:47:34 +00:00
parent 3d6ac6a6e7
commit cd0e425baa
2 changed files with 26 additions and 0 deletions
+2
View File
@@ -52,6 +52,8 @@ lib.makeScope newScope (self: with self; {
hydro = callPackage ./hydro.nix { };
nvm = callPackage ./nvm.nix { };
pisces = callPackage ./pisces.nix { };
plugin-git = callPackage ./plugin-git.nix { };
+24
View File
@@ -0,0 +1,24 @@
{
buildFishPlugin,
fetchFromGitHub,
lib,
}:
buildFishPlugin rec {
pname = "nvm";
version = "2.2.16";
src = fetchFromGitHub {
owner = "jorgebucaran";
repo = "nvm.fish";
tag = version;
hash = "sha256-GTEkCm+OtxMS3zJI5gnFvvObkrpepq1349/LcEPQRDo=";
};
meta = {
description = "The 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 ];
};
}