mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #232787 from marsam/update-resvg
resvg: 0.32.0 -> 0.33.0
This commit is contained in:
commit
7797c8865f
@ -2,16 +2,26 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "resvg";
|
||||
version = "0.32.0";
|
||||
version = "0.33.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RazrFalcon";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tbFRonljX/vH32/18yKs9qbs+spxLa1ZOQt2QTR8Z7o=";
|
||||
hash = "sha256-x2lsEYPv6FtARdRd5r+vvV+/S4uZkRXPhsoXmplgIAM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-0SxFE6eMdVAU1wHvVLMClDk++Uf84InOISs1txXnIzo=";
|
||||
cargoHash = "sha256-toUS1JAbJ8gbOsi87SXiqoaW0X7enAh4Iha3VeCa3WY=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--package=resvg"
|
||||
"--package=resvg-capi"
|
||||
"--package=usvg"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 -t $out/include crates/c-api/*.h
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An SVG rendering library";
|
||||
|
Loading…
Reference in New Issue
Block a user