47 lines
1.5 KiB
Nix
47 lines
1.5 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, vscode-utils
|
|
, pkgs
|
|
}:
|
|
|
|
let
|
|
version = "0.0.49";
|
|
publisher = "jeanp413";
|
|
name = "open-remote-ssh";
|
|
in
|
|
vscode-utils.buildVscodeMarketplaceExtension {
|
|
mktplcRef = {
|
|
inherit name publisher version;
|
|
};
|
|
|
|
vsix = fetchurl {
|
|
url = "https://open-vsx.org/api/${publisher}/${name}/${version}/file/${publisher}.${name}-${version}.vsix";
|
|
# Update this hash after downloading
|
|
sha256 = "sha256-QfJnAAx+kO2iJ1EzWoO5HLogJKg3RiC3hg1/u2Jm6t4=";
|
|
};
|
|
|
|
unpackPhase = ''
|
|
${pkgs.unzip}/bin/unzip -q $src
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Use any remote machine with a SSH server as your development environment";
|
|
longDescription = ''
|
|
The Open Remote SSH extension allows you to open a remote folder on any
|
|
remote machine, virtual machine, or container with a running SSH server
|
|
and take full advantage of VS Code's feature set. This is an open-source
|
|
alternative to Microsoft's proprietary Remote SSH extension, designed to
|
|
work with VSCodium and other open-source VS Code variants.
|
|
|
|
Note: This extension requires enabling proposed APIs in VSCodium/Code-OSS.
|
|
You need to add "jeanp413.open-remote-ssh" to the "enable-proposed-api"
|
|
array in ~/.vscode-oss/argv.json
|
|
'';
|
|
homepage = "https://github.com/jeanp413/open-remote-ssh";
|
|
changelog = "https://github.com/jeanp413/open-remote-ssh/releases";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ /* add your name here if you maintain this */ ];
|
|
platforms = platforms.all;
|
|
};
|
|
} |