From 4dc3fa27a59e5bda8263d1dd1266dc8824466883 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 29 Nov 2023 09:48:35 -0500 Subject: [PATCH] svg2pdf: 0.9.0 -> 0.9.1 Diff: https://github.com/typst/svg2pdf/compare/v0.9.0...v0.9.1 Changelog: https://github.com/typst/svg2pdf/releases/tag/v0.9.1 --- pkgs/tools/graphics/svg2pdf/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/graphics/svg2pdf/default.nix b/pkgs/tools/graphics/svg2pdf/default.nix index d92fa5802d87..24065574ddcc 100644 --- a/pkgs/tools/graphics/svg2pdf/default.nix +++ b/pkgs/tools/graphics/svg2pdf/default.nix @@ -5,16 +5,20 @@ rustPlatform.buildRustPackage rec { pname = "svg2pdf"; - version = "0.9.0"; + version = "0.9.1"; src = fetchFromGitHub { owner = "typst"; repo = "svg2pdf"; rev = "v${version}"; - hash = "sha256-Xy1ID2/M3v9/ZEo8fWEDlJ8+cmgAMdHhs27xDfe8IYQ="; + hash = "sha256-mWj9zWxqcJ+5VFYSaeNLxClWdOGd34JboZBwT8E75Ew="; }; - cargoHash = "sha256-l3671zvqSM4CY7lOXOur0Q6PBDVf6jXnhZ/8kADWQz4="; - buildFeatures = [ "cli" ]; + + cargoHash = "sha256-zP448dFnkoPca/GJA2kT5ht1fVGkWN0XdaKEePJaloQ="; + + cargoBuildFlags = [ + "-p=svg2pdf-cli" + ]; meta = with lib; { description = "Convert SVG files to PDFs";