Merge pull request #270780 from figsoda/gifski

gifski: 1.13.0 -> 1.31.1
This commit is contained in:
Mario Rodas 2023-11-29 00:06:09 -05:00 committed by GitHub
commit b0d682a977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -318,7 +318,7 @@ dependencies = [
[[package]] [[package]]
name = "gifski" name = "gifski"
version = "1.13.0" version = "1.13.1"
dependencies = [ dependencies = [
"clap", "clap",
"crossbeam-channel", "crossbeam-channel",

View File

@ -7,13 +7,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "gifski"; pname = "gifski";
version = "1.13.0"; version = "1.31.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ImageOptim"; owner = "ImageOptim";
repo = "gifski"; repo = "gifski";
rev = version; rev = version;
hash = "sha256-Ij+bgL935uLCZeh8GQnTFlPIuUloNCn8LUdvMd+6okM="; hash = "sha256-JzQReCX1AfFhbVbSPOIAKAVvNoddrWFHaJ1AxlsIPA0=";
}; };
cargoLock = { cargoLock = {
@ -44,6 +44,11 @@ rustPlatform.buildRustPackage rec {
# #
checkType = "debug"; checkType = "debug";
# Cargo.lock is outdated
postPatch = ''
cargo metadata --offline
'';
meta = with lib; { meta = with lib; {
description = "GIF encoder based on libimagequant (pngquant)"; description = "GIF encoder based on libimagequant (pngquant)";
homepage = "https://gif.ski/"; homepage = "https://gif.ski/";