vscode-extensions.eugleo.magic-racket: move to a directory
This commit is contained in:
parent
31de7d1519
commit
2745c03b3f
|
@ -15,7 +15,6 @@
|
||||||
, jq
|
, jq
|
||||||
, shellcheck
|
, shellcheck
|
||||||
, moreutils
|
, moreutils
|
||||||
, racket
|
|
||||||
, alejandra
|
, alejandra
|
||||||
, shfmt
|
, shfmt
|
||||||
, tinymist
|
, tinymist
|
||||||
|
@ -1590,27 +1589,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
eugleo.magic-racket = buildVscodeMarketplaceExtension {
|
eugleo.magic-racket = callPackage ./eugleo.magic-racket { };
|
||||||
mktplcRef = {
|
|
||||||
name = "magic-racket";
|
|
||||||
publisher = "evzen-wybitul";
|
|
||||||
version = "0.6.4";
|
|
||||||
hash = "sha256-Hxa4VPm3QvJICzpDyfk94fGHu1hr+YN9szVBwDB8X4U=";
|
|
||||||
};
|
|
||||||
nativeBuildInputs = [ jq moreutils ];
|
|
||||||
postInstall = ''
|
|
||||||
cd "$out/$installPrefix"
|
|
||||||
jq '.contributes.configuration.properties."magicRacket.general.racketPath".default = "${racket}/bin/racket"' package.json | sponge package.json
|
|
||||||
jq '.contributes.configuration.properties."magicRacket.general.racoPath".default = "${racket}/bin/raco"' package.json | sponge package.json
|
|
||||||
'';
|
|
||||||
meta = {
|
|
||||||
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-racket";
|
|
||||||
license = lib.licenses.agpl3Only;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ExiaHuang.dictionary = buildVscodeMarketplaceExtension {
|
ExiaHuang.dictionary = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
jq,
|
||||||
|
moreutils,
|
||||||
|
racket,
|
||||||
|
vscode-utils,
|
||||||
|
}:
|
||||||
|
|
||||||
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "magic-racket";
|
||||||
|
publisher = "evzen-wybitul";
|
||||||
|
version = "0.6.4";
|
||||||
|
hash = "sha256-Hxa4VPm3QvJICzpDyfk94fGHu1hr+YN9szVBwDB8X4U=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [
|
||||||
|
jq
|
||||||
|
moreutils
|
||||||
|
];
|
||||||
|
postInstall = ''
|
||||||
|
cd "$out/$installPrefix"
|
||||||
|
jq '.contributes.configuration.properties."magicRacket.general.racketPath".default = "${racket}/bin/racket"' package.json | sponge package.json
|
||||||
|
jq '.contributes.configuration.properties."magicRacket.general.racoPath".default = "${racket}/bin/raco"' package.json | sponge package.json
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
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-racket";
|
||||||
|
license = lib.licenses.agpl3Only;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user