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/";