From 1780fa9ca3bee9bb862981c70fb92c3440566d0f Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 19 May 2023 04:20:00 +0000 Subject: [PATCH 1/2] resvg: 0.32.0 -> 0.33.0 Diff: https://github.com/RazrFalcon/resvg/compare/v0.32.0...v0.33.0 Changelog: https://github.com/RazrFalcon/resvg/raw/v0.33.0/CHANGELOG.md --- pkgs/tools/graphics/resvg/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/resvg/default.nix b/pkgs/tools/graphics/resvg/default.nix index dd47a602a6f1..687feec58f02 100644 --- a/pkgs/tools/graphics/resvg/default.nix +++ b/pkgs/tools/graphics/resvg/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "resvg"; - version = "0.32.0"; + version = "0.33.0"; src = fetchFromGitHub { owner = "RazrFalcon"; repo = pname; rev = "v${version}"; - hash = "sha256-tbFRonljX/vH32/18yKs9qbs+spxLa1ZOQt2QTR8Z7o="; + hash = "sha256-x2lsEYPv6FtARdRd5r+vvV+/S4uZkRXPhsoXmplgIAM="; }; - cargoHash = "sha256-0SxFE6eMdVAU1wHvVLMClDk++Uf84InOISs1txXnIzo="; + cargoHash = "sha256-toUS1JAbJ8gbOsi87SXiqoaW0X7enAh4Iha3VeCa3WY="; meta = with lib; { description = "An SVG rendering library"; From aa7f55ce85f96771a1e45942465955febcd30086 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 19 May 2023 04:20:00 +0000 Subject: [PATCH 2/2] resvg: install libresvg --- pkgs/tools/graphics/resvg/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/tools/graphics/resvg/default.nix b/pkgs/tools/graphics/resvg/default.nix index 687feec58f02..8d2f1a61b605 100644 --- a/pkgs/tools/graphics/resvg/default.nix +++ b/pkgs/tools/graphics/resvg/default.nix @@ -13,6 +13,16 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-toUS1JAbJ8gbOsi87SXiqoaW0X7enAh4Iha3VeCa3WY="; + cargoBuildFlags = [ + "--package=resvg" + "--package=resvg-capi" + "--package=usvg" + ]; + + postInstall = '' + install -Dm644 -t $out/include crates/c-api/*.h + ''; + meta = with lib; { description = "An SVG rendering library"; homepage = "https://github.com/RazrFalcon/resvg";