Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
1.0 KiB
Nix
33 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
jq,
|
|
moreutils,
|
|
racket,
|
|
vscode-utils,
|
|
}:
|
|
|
|
vscode-utils.buildVscodeMarketplaceExtension {
|
|
mktplcRef = {
|
|
name = "magic-racket";
|
|
publisher = "evzen-wybitul";
|
|
version = "0.7.0";
|
|
hash = "sha256-8q2H9VPmdIAh4VmtGjIAwUfpr1P7+zmDLGiyCNbAXBU=";
|
|
};
|
|
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 = "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;
|
|
};
|
|
}
|