diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 5e51f2641677..2195778492eb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14050,7 +14050,7 @@ name = "Dmitry Kalinkin"; }; victormignot = { - email = "victor.mignot@protonmail.com"; + email = "root@victormignot.fr"; github = "victormignot"; githubId = 58660971; name = "Victor Mignot"; diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index fb23a791ab5c..a7936404015f 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1453,6 +1453,8 @@ let }; }; + jebbs.plantuml = callPackage ./jebbs.plantuml {}; + jnoortheen.nix-ide = buildVscodeMarketplaceExtension { mktplcRef = { name = "nix-ide"; diff --git a/pkgs/applications/editors/vscode/extensions/jebbs.plantuml/default.nix b/pkgs/applications/editors/vscode/extensions/jebbs.plantuml/default.nix new file mode 100644 index 000000000000..c54e975e4f46 --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/jebbs.plantuml/default.nix @@ -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 ]; + }; +} +