From d341b7d95cc9d571e2547850689682373b68603d Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 28 Nov 2023 20:35:03 -0500 Subject: [PATCH] gifski: 1.13.0 -> 1.31.1 Diff: https://github.com/ImageOptim/gifski/compare/1.13.0...1.31.1 Changelog: https://github.com/ImageOptim/gifski/releases/tag/1.31.1 --- pkgs/tools/graphics/gifski/Cargo.lock | 2 +- pkgs/tools/graphics/gifski/default.nix | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/gifski/Cargo.lock b/pkgs/tools/graphics/gifski/Cargo.lock index ee579a5e9799..bc840dec7f1f 100644 --- a/pkgs/tools/graphics/gifski/Cargo.lock +++ b/pkgs/tools/graphics/gifski/Cargo.lock @@ -318,7 +318,7 @@ dependencies = [ [[package]] name = "gifski" -version = "1.13.0" +version = "1.13.1" dependencies = [ "clap", "crossbeam-channel", diff --git a/pkgs/tools/graphics/gifski/default.nix b/pkgs/tools/graphics/gifski/default.nix index 53180d0094a8..295760905442 100644 --- a/pkgs/tools/graphics/gifski/default.nix +++ b/pkgs/tools/graphics/gifski/default.nix @@ -7,13 +7,13 @@ rustPlatform.buildRustPackage rec { pname = "gifski"; - version = "1.13.0"; + version = "1.31.1"; src = fetchFromGitHub { owner = "ImageOptim"; repo = "gifski"; rev = version; - hash = "sha256-Ij+bgL935uLCZeh8GQnTFlPIuUloNCn8LUdvMd+6okM="; + hash = "sha256-JzQReCX1AfFhbVbSPOIAKAVvNoddrWFHaJ1AxlsIPA0="; }; cargoLock = { @@ -44,6 +44,11 @@ rustPlatform.buildRustPackage rec { # checkType = "debug"; + # Cargo.lock is outdated + postPatch = '' + cargo metadata --offline + ''; + meta = with lib; { description = "GIF encoder based on libimagequant (pngquant)"; homepage = "https://gif.ski/";