excalidraw_export: init at v1.1.0 (#341078)

This commit is contained in:
Tomodachi94 2024-11-20 07:04:02 -08:00 committed by GitHub
commit 03597e239e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View File

@ -23060,6 +23060,12 @@
githubId = 2856634;
name = "Tyler Compton";
};
venikx = {
email = "code@venikx.com";
github = "venikx";
githubId = 24815061;
name = "Kevin De Baerdemaeker";
};
veprbl = {
email = "veprbl@gmail.com";
github = "veprbl";

View File

@ -0,0 +1,40 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
cairo,
pango,
pkg-config,
stdenv,
}:
buildNpmPackage rec {
pname = "excalidraw_export";
version = "1.1.0";
src = fetchFromGitHub {
owner = "Timmmm";
repo = "excalidraw_export";
rev = "320c8be92f468e5e19564f83e37709b80afc0e46";
hash = "sha256-E5kYI8+hzObd2WNVBd0aQDKMH1Sns539loCQfClJs1Q=";
};
npmDepsHash = "sha256-5yec7BCi1c/e+y00TqxIeoazs49+WdKdfsskAqnVkFs=";
npmBuildScript = "compile";
buildInputs = [
cairo
pango
];
nativeBuildInputs = [ pkg-config ];
meta = {
description = "CLI to export Excalidraw drawings to SVG and PDF";
homepage = "https://github.com/Timmmm/excalidraw_export";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ venikx ];
mainProgram = "excalidraw_export";
broken = stdenv.isDarwin;
};
}