nvs: init at 1.10.6 (#432062)

authored by Fernando Rodrigues and committed by GitHub 1f488030 2b077792

+56
+6
maintainers/maintainer-list.nix
··· 5379 5379 githubId = 176372446; 5380 5380 name = "Katja Kwast"; 5381 5381 }; 5382 + cupcakearmy = { 5383 + name = "Niccolo Borgioli"; 5384 + email = "nix@nicco.io"; 5385 + github = "cupcakearmy"; 5386 + githubId = 14948823; 5387 + }; 5382 5388 curious = { 5383 5389 email = "curious@curious.host"; 5384 5390 matrix = "@curious:curious.host";
+50
pkgs/by-name/nv/nvs/package.nix
··· 1 + { 2 + buildGoModule, 3 + fetchFromGitHub, 4 + installShellFiles, 5 + writableTmpDirAsHomeHook, 6 + lib, 7 + }: 8 + buildGoModule (finalAttrs: { 9 + pname = "nvs"; 10 + version = "1.10.6"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "y3owk1n"; 14 + repo = "nvs"; 15 + tag = "v${finalAttrs.version}"; 16 + hash = "sha256-hqIauWbAsWbD7P58BGnj6NlLtfuaR5YxOLgPOrpN++w="; 17 + }; 18 + 19 + vendorHash = "sha256-l2FdnXA+vKVRekcIKt1R+MxppraTsmo0b/B7RNqnxjA="; 20 + 21 + ldflags = [ 22 + "-s" 23 + "-w" 24 + ]; 25 + 26 + # Completions 27 + nativeBuildInputs = [ 28 + installShellFiles 29 + writableTmpDirAsHomeHook 30 + ]; 31 + postInstall = '' 32 + installShellCompletion --cmd nvs \ 33 + --bash <($out/bin/nvs completion bash) \ 34 + --fish <($out/bin/nvs completion fish) \ 35 + --zsh <($out/bin/nvs completion zsh) 36 + ''; 37 + 38 + __darwinAllowLocalNetworking = true; 39 + 40 + meta = { 41 + mainProgram = "nvs"; 42 + description = "Lightweight Neovim Version & Config Manager CLI tool to install, switch, list, uninstall, and reset Neovim versions"; 43 + homepage = "https://github.com/y3owk1n/nvs"; 44 + changelog = "https://github.com/y3owk1n/nvs/releases/tag/v${finalAttrs.version}"; 45 + license = lib.licenses.mit; 46 + maintainers = with lib.maintainers; [ 47 + cupcakearmy 48 + ]; 49 + }; 50 + })