vscode-extensions.oliver-ni.scheme-fmt: init at 1.2.1 (#426872)

authored by Pol Dellaiera and committed by GitHub 85e4c985 57354d2e

+31
+2
pkgs/applications/editors/vscode/extensions/default.nix
··· 3766 }; 3767 }; 3768 3769 oops418.nix-env-picker = callPackage ./oops418.nix-env-picker { }; 3770 3771 ph-hawkins.arc-plus = callPackage ./ph-hawkins.arc-plus { };
··· 3766 }; 3767 }; 3768 3769 + oliver-ni.scheme-fmt = callPackage ./oliver-ni.scheme-fmt { }; 3770 + 3771 oops418.nix-env-picker = callPackage ./oops418.nix-env-picker { }; 3772 3773 ph-hawkins.arc-plus = callPackage ./ph-hawkins.arc-plus { };
+29
pkgs/applications/editors/vscode/extensions/oliver-ni.scheme-fmt/default.nix
···
··· 1 + { 2 + lib, 3 + vscode-utils, 4 + jq, 5 + python3, 6 + moreutils, 7 + }: 8 + 9 + vscode-utils.buildVscodeMarketplaceExtension { 10 + mktplcRef = { 11 + publisher = "oliver-ni"; 12 + name = "scheme-fmt"; 13 + version = "1.2.1"; 14 + hash = "sha256-oTXy0Vjd0s7ZYZzr36ILQOJm4BW9Qd7y8fGbnhkaD1Y="; 15 + }; 16 + 17 + postInstall = '' 18 + cd "$out/$installPrefix" 19 + ${lib.getExe jq} '.contributes.configuration.properties."scheme-fmt.pythonPath".default = "${lib.getExe python3}"' package.json | ${lib.getExe' moreutils "sponge"} package.json 20 + ''; 21 + 22 + meta = { 23 + description = "Formats Scheme source code"; 24 + downloadPage = "https://marketplace.visualstudio.com/items?itemName=oliver-ni.scheme-fmt"; 25 + homepage = "https://github.com/oliver-ni/scheme-fmt"; 26 + license = lib.licenses.cc0; 27 + maintainers = with lib.maintainers; [ tuynia ]; 28 + }; 29 + }