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

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

24 lines
644 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2020-10-14 06:20:00 +02:00
rustPlatform.buildRustPackage rec {
pname = "resvg";
2022-11-01 06:44:50 +01:00
version = "0.25.0";
2020-10-14 06:20:00 +02:00
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "v${version}";
2022-11-01 06:44:50 +01:00
sha256 = "sha256-XD0FEvmTDrjRD72FY6fWdAKhYSBCYVThaI9O1ToSbrc=";
2020-10-14 06:20:00 +02:00
};
2022-11-01 06:44:50 +01:00
cargoSha256 = "sha256-gprXkLz4lvxopKHqmMNkkS4z6NTOKMAHNR1zemRNUMg=";
2020-10-14 06:20:00 +02:00
meta = with lib; {
description = "An SVG rendering library";
homepage = "https://github.com/RazrFalcon/resvg";
2021-03-13 13:28:00 +01:00
changelog = "https://github.com/RazrFalcon/resvg/raw/v${version}/CHANGELOG.md";
2020-10-14 06:20:00 +02:00
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
}