mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
vscode-extensions.reditorsupport.r: init 2.8.2
This commit is contained in:
parent
86814057f1
commit
b40da1f02a
2 changed files with 44 additions and 0 deletions
|
@ -3446,6 +3446,8 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reditorsupport.r = callPackage ./reditorsupport.r { };
|
||||||
|
|
||||||
reloadedextensions.reloaded-cpp = buildVscodeMarketplaceExtension {
|
reloadedextensions.reloaded-cpp = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "reloaded-cpp";
|
name = "reloaded-cpp";
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
vscode-utils,
|
||||||
|
jq,
|
||||||
|
moreutils,
|
||||||
|
python311Packages,
|
||||||
|
R,
|
||||||
|
rPackages,
|
||||||
|
}:
|
||||||
|
|
||||||
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "r";
|
||||||
|
publisher = "reditorsupport";
|
||||||
|
version = "2.8.2";
|
||||||
|
hash = "sha256-FPL/JjW452KRchcQ0iHXRJarZXvS3B8PvZhXjf3rMhQ=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [
|
||||||
|
jq
|
||||||
|
moreutils
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
python311Packages.radian
|
||||||
|
R
|
||||||
|
rPackages.languageserver
|
||||||
|
];
|
||||||
|
postInstall = ''
|
||||||
|
cd "$out/$installPrefix"
|
||||||
|
jq '.contributes.configuration.properties."r.rpath.mac".default = "${lib.getExe' R "R"}"' package.json | sponge package.json
|
||||||
|
jq '.contributes.configuration.properties."r.rpath.linux".default = "${lib.getExe' R "R"}"' package.json | sponge package.json
|
||||||
|
jq '.contributes.configuration.properties."r.rterm.mac".default = "${lib.getExe python311Packages.radian}"' package.json | sponge package.json
|
||||||
|
jq '.contributes.configuration.properties."r.rterm.linux".default = "${lib.getExe python311Packages.radian}"' package.json | sponge package.json
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
changelog = "https://marketplace.visualstudio.com/items/REditorSupport.r/changelog";
|
||||||
|
description = "A Visual Studio Code extension for the R programming language";
|
||||||
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=REditorSupport.r";
|
||||||
|
homepage = "https://github.com/REditorSupport/vscode-R";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = [ lib.maintainers.pandapip1 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue