Merge pull request #87766 from ysndr/add/mermaid-cli

nodePackages.mermaid-cli: init 8.4.8
This commit is contained in:
Michael Raskin 2020-10-03 16:24:13 +00:00 committed by GitHub
commit 262103717e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1684 additions and 1477 deletions

View file

@ -114,6 +114,20 @@ let
buildInputs = [ self.node-pre-gyp ];
};
mermaid-cli = super."@mermaid-js/mermaid-cli".override (
if stdenv.isDarwin
then {}
else {
nativeBuildInputs = [ pkgs.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
postInstall = ''
wrapProgram $out/bin/mmdc \
--set PUPPETEER_EXECUTABLE_PATH ${pkgs.chromium.outPath}/bin/chromium
'';
});
pnpm = super.pnpm.override {
nativeBuildInputs = [ pkgs.makeWrapper ];

View file

@ -120,6 +120,7 @@
, "mastodon-bot"
, "mathjax"
, "meat"
, "@mermaid-js/mermaid-cli"
, "mirakurun"
, "mocha"
, "multi-file-swagger"

File diff suppressed because it is too large Load diff