Merge pull request #192253 from victormignot/vscode_plantuml

vscode-extensions.jebbs.plantuml: init at 2.17.4
This commit is contained in:
superherointj 2022-09-29 14:59:52 -03:00 committed by GitHub
commit 624e8c1852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 1 deletions

View File

@ -14050,7 +14050,7 @@
name = "Dmitry Kalinkin";
};
victormignot = {
email = "victor.mignot@protonmail.com";
email = "root@victormignot.fr";
github = "victormignot";
githubId = 58660971;
name = "Victor Mignot";

View File

@ -1453,6 +1453,8 @@ let
};
};
jebbs.plantuml = callPackage ./jebbs.plantuml {};
jnoortheen.nix-ide = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "nix-ide";

View File

@ -0,0 +1,27 @@
{ lib, vscode-utils, plantuml, jq, moreutils }:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "plantuml";
publisher = "jebbs";
version = "2.17.4";
sha256 = "sha256-fnz6ubB73i7rJcv+paYyNV1r4cReuyFPjgPM0HO40ug=";
};
nativeBuildInputs = [ jq moreutils ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."plantuml.java".default = "${plantuml}/bin/plantuml"' package.json | sponge package.json
'';
meta = with lib; {
description = "A Visual Studio Code extension for supporting Rich PlantUML";
downloadPage =
"https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml";
homepage = "https://github.com/qjebbs/vscode-plantuml";
changelog =
"https://marketplace.visualstudio.com/items/jebbs.plantuml/changelog";
license = licenses.mit;
maintainers = with maintainers; [ victormignot ];
};
}