merge
This commit is contained in:
44
packages/system/open-remote-ssh/default.nix
Normal file
44
packages/system/open-remote-ssh/default.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
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";
|
||||
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;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
14
packages/system/uart-wifi/default.nix
Normal file
14
packages/system/uart-wifi/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ python3Packages, fetchPypi, ... }:
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "uart-wifi";
|
||||
version = "0.2.1";
|
||||
format = "pyproject";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-yquZ5V8f+EqetCf0nc9WlhHhnHkOASYRuYvqEIMc5HI=";
|
||||
};
|
||||
|
||||
buildInputs = with python3Packages; [ setuptools ];
|
||||
|
||||
doCheck = false; # no tests in the PyPI tarball
|
||||
}
|
||||
Reference in New Issue
Block a user