3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/graphics/resvg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
743 B
Nix
Raw Normal View History

2021-03-13 12:28:00 +00:00
{ stdenv, lib, rustPlatform, fetchFromGitHub, libiconv }:
2020-10-14 05:20:00 +01:00
rustPlatform.buildRustPackage rec {
pname = "resvg";
2022-02-21 17:32:19 +00:00
version = "0.22.0";
2020-10-14 05:20:00 +01:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2022-02-21 17:32:19 +00:00
sha256 = "sha256-3WFzLyg6335twcAMIjzza9r45ljcFlAzvTqyqXOfs1A=";
2020-10-14 05:20:00 +01:00
};
2022-02-21 17:32:19 +00:00
cargoSha256 = "sha256-twKiuxRpsiJu+hHrg6kUclX9+BWPUop492C+CkwQF2k=";
2020-10-14 05:20:00 +01:00
2021-03-13 12:28:00 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
2020-10-14 05:20:00 +01:00
doCheck = false;
meta = with lib; {
description = "An SVG rendering library";
homepage = "https://github.com/RazrFalcon/resvg";
2021-03-13 12:28:00 +00:00
changelog = "https://github.com/RazrFalcon/resvg/raw/v${version}/CHANGELOG.md";
2020-10-14 05:20:00 +01:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}