ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
27 lines
743 B
Nix
27 lines
743 B
Nix
{ stdenv, lib, rustPlatform, fetchFromGitHub, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "resvg";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RazrFalcon";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-fd97w6yd9ZX2k8Vq+Vh6jouufGdFE02ZV8mb+BtA3tk=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-uP+YAJYZtMCUnLZWcwnoAw8E5cJeFxXx0qd2Li4byQM=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "An SVG rendering library";
|
|
homepage = "https://github.com/RazrFalcon/resvg";
|
|
changelog = "https://github.com/RazrFalcon/resvg/raw/v${version}/CHANGELOG.md";
|
|
license = licenses.mpl20;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|