Unverified Commit 24f7710c authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

fishPlugins.nvm: init at 2.2.16 (#379076)

parents 0d02ff33 cd0e425b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}