mozjpeg: 4.0.3 -> 4.1.1

This commit is contained in:
R. Ryantm 2022-08-15 11:53:11 +00:00
parent 29136a94b9
commit 1e00dcc8f0

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libpng, zlib, nasm }: { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libpng, zlib, nasm }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "4.0.3"; version = "4.1.1";
pname = "mozjpeg"; pname = "mozjpeg";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mozilla"; owner = "mozilla";
repo = "mozjpeg"; repo = "mozjpeg";
rev = "v${version}"; rev = "v${version}";
sha256 = "1wb2ys0yjy6hgpb9qvzjxs7sb2zzs44p6xf7n026mx5nx85hjbyv"; sha256 = "sha256-tHiuQeBWjyXxy5F8jadYz5qfF2S3snagnlCPjI1Cj18=";
}; };
cmakeFlags = [ "-DENABLE_STATIC=NO" "-DPNG_SUPPORTED=TRUE" ]; # See https://github.com/mozilla/mozjpeg/issues/351 cmakeFlags = [ "-DENABLE_STATIC=NO" "-DPNG_SUPPORTED=TRUE" ]; # See https://github.com/mozilla/mozjpeg/issues/351