nixpkgs/pkgs/tools/graphics/resvg/default.nix

25 lines
582 B
Nix
Raw Normal View History

2020-10-14 04:20:00 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "resvg";
2020-12-08 04:56:22 +00:00
version = "0.12.0";
2020-10-14 04:20:00 +00:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2020-12-08 04:56:22 +00:00
sha256 = "0iqlg0wmx9y81ncbw4ihd6pr7ddpfsvk35zmhzsq4plwzbxgp0w1";
2020-10-14 04:20:00 +00:00
};
2020-12-08 04:56:22 +00:00
cargoSha256 = "0jgczhvm5rsv4vwd5wx6gshy6322im4c3wi79klk249czr6vlwsg";
2020-10-14 04:20:00 +00:00
doCheck = false;
meta = with lib; {
description = "An SVG rendering library";
homepage = "https://github.com/RazrFalcon/resvg";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}