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

25 lines
580 B
Nix
Raw Normal View History

2020-10-14 05:20:00 +01:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "resvg";
2021-02-03 22:19:54 +00:00
version = "0.13.1";
2020-10-14 05:20:00 +01:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2021-02-03 22:19:54 +00:00
sha256 = "sha256-Jo+dx4+3GpEwOoE8HH0YahBmPvT9Oy2qXMvCJ/NZhF0=";
2020-10-14 05:20:00 +01:00
};
2021-02-03 22:19:54 +00:00
cargoSha256 = "sha256-8Es9NZYsC/9PZ6ytWZTAH42U3vxZtJERPSsno1s4TEc=";
2020-10-14 05:20:00 +01:00
doCheck = false;
meta = with lib; {
description = "An SVG rendering library";
homepage = "https://github.com/RazrFalcon/resvg";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}