Skip to content

Commit

Permalink
excalidraw_export: init at v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Sep 13, 2024
1 parent 31b863f commit d75b5c1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/by-name/ex/excalidraw_export/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
cairo,
pango,
pkg-config,
}:

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";
};
}

0 comments on commit d75b5c1

Please sign in to comment.