lazyssh: init at 0.2.0 (#439626)

authored by Fabian Affolter and committed by GitHub 598b735e b789f685

+40
+40
pkgs/by-name/la/lazyssh/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + 8 + buildGoModule (finalAttrs: { 9 + pname = "lazyssh"; 10 + version = "0.2.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "Adembc"; 14 + repo = "lazyssh"; 15 + tag = "v${finalAttrs.version}"; 16 + hash = "sha256-0R/H+HaJ13dQhLbFgLAvv4MhXADT3UqWeyTgegKjFxM="; 17 + }; 18 + 19 + vendorHash = "sha256-/RgjcAy2H9sWMWDA3QxMkT4LkzxvZqOZzKeR9u9bsH0="; 20 + 21 + ldflags = [ 22 + "-X=main.version=${finalAttrs.version}" 23 + "-X=main.gitCommit=v${finalAttrs.version}" 24 + ]; 25 + 26 + postInstall = '' 27 + mv $out/bin/cmd $out/bin/lazyssh 28 + ''; 29 + 30 + passthru.updateScript = nix-update-script { }; 31 + 32 + meta = { 33 + description = "Terminal-based SSH manager"; 34 + homepage = "https://github.com/Adembc/lazyssh"; 35 + changelog = "https://github.com/Adembc/lazyssh/releases/tag/v${finalAttrs.version}"; 36 + license = lib.licenses.asl20; 37 + maintainers = with lib.maintainers; [ kpbaks ]; 38 + mainProgram = "lazyssh"; 39 + }; 40 + })