Merge pull request #291021 from Stunkymonkey/equinusocio.vsc-material-theme-34.3.1

vscode-extensions.equinusocio.vsc-material-theme: 33.8.0 -> 34.3.1
This commit is contained in:
Pol Dellaiera 2024-02-26 15:32:02 +01:00 committed by GitHub
commit d8d07710ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 16 deletions

View file

@ -1522,22 +1522,7 @@ let
};
};
equinusocio.vsc-material-theme = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vsc-material-theme";
publisher = "Equinusocio";
version = "33.8.0";
sha256 = "sha256-+I4AUwsrElT62XNvmuAC2iBfHfjNYY0bmAqzQvfwUYM=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/Equinusocio.vsc-material-theme/changelog";
description = "The most epic theme now for Visual Studio Code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme";
homepage = "https://github.com/material-theme/vsc-material-theme";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.stunkymonkey ];
};
};
equinusocio.vsc-material-theme = callPackage ./equinusocio.vsc-material-theme { };
esbenp.prettier-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {

View file

@ -0,0 +1,27 @@
{ lib
, vscode-utils
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vsc-material-theme";
publisher = "Equinusocio";
version = "34.3.1";
sha256 = "sha256-3yxFTMtjJR1b4EzBDfm55HF9chrya5OUF5wN+KHEduE=";
};
# extensions wants to write at the /nix/store path, so we patch it to use the globalStorageUri instead.
prePatch = ''
substituteInPlace ./build/core/extension-manager.js \
--replace-fail "path_1.posix.join(extensionFolderUri.path, env_1.USER_CONFIG_FILE_NAME)" "path_1.posix.join(ExtensionContext.globalStorageUri.fsPath, env_1.USER_CONFIG_FILE_NAME)"
'';
meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/Equinusocio.vsc-material-theme/changelog";
description = "The most epic theme now for Visual Studio Code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme";
homepage = "https://github.com/material-theme/vsc-material-theme";
license = licenses.asl20;
maintainers = with maintainers; [ stunkymonkey ];
};
}