vscode-extensions.eugleo.magic-racket: init at 0.5.7

This commit is contained in:
happysalada 2021-07-23 10:22:24 +09:00 committed by Raphael Megzari
parent d02e8fb687
commit 85a9a16aa9

View file

@ -1,4 +1,4 @@
{ config, lib, buildEnv, callPackage, vscode-utils, asciidoctor, nodePackages, jdk, llvmPackages_8, nixpkgs-fmt, jq, shellcheck }: { config, lib, buildEnv, callPackage, vscode-utils, asciidoctor, nodePackages, jdk, llvmPackages_8, nixpkgs-fmt, jq, shellcheck, moreutils, racket-minimal }:
let let
inherit (vscode-utils) buildVscodeMarketplaceExtension; inherit (vscode-utils) buildVscodeMarketplaceExtension;
@ -513,6 +513,28 @@ let
}; };
}; };
eugleo.magic-racket = buildVscodeMarketplaceExtension {
meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/evzen-wybitul.magic-racket/changelog";
description = "The best coding experience for Racket in VS Code ";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket";
homepage = "https://github.com/Eugleo/magic-raket";
license = licenses.agpl3Only;
};
mktplcRef = {
name = "magic-racket";
publisher = "evzen-wybitul";
version = "0.5.7";
sha256 = "sha256-34/H0WgM73yzuOGU2w6Ipq7KuEBuN1bykcLGuvzY3mU=";
};
nativeBuildInputs = [ jq moreutils ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."magic-racket.general.racketPath".default = "${racket-minimal}/bin/racket"' package.json | sponge package.json
'';
};
file-icons.file-icons = buildVscodeMarketplaceExtension { file-icons.file-icons = buildVscodeMarketplaceExtension {
meta = with lib; { meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/file-icons.file-icons/changelog"; changelog = "https://marketplace.visualstudio.com/items/file-icons.file-icons/changelog";