resvg: fix build on darwin
This commit is contained in:
parent
e4bc623eb3
commit
751f46c0cd
@ -1,4 +1,4 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ stdenv, lib, rustPlatform, fetchFromGitHub, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "resvg";
|
pname = "resvg";
|
||||||
@ -13,11 +13,14 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-LlEYfjUINQW/YrhNp/Z+fdLQPcvrTjNFtDAk1gyAuj0=";
|
cargoSha256 = "sha256-LlEYfjUINQW/YrhNp/Z+fdLQPcvrTjNFtDAk1gyAuj0=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An SVG rendering library";
|
description = "An SVG rendering library";
|
||||||
homepage = "https://github.com/RazrFalcon/resvg";
|
homepage = "https://github.com/RazrFalcon/resvg";
|
||||||
|
changelog = "https://github.com/RazrFalcon/resvg/raw/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = [ maintainers.marsam ];
|
maintainers = [ maintainers.marsam ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user