mozjpeg: set mainProgram to cjpeg (#500744)

This commit is contained in:
Thomas Gerbet
2026-03-23 11:09:51 +00:00
committed by GitHub
+6
View File
@@ -48,6 +48,12 @@ stdenv.mkDerivation (finalAttrs: {
'';
homepage = "https://github.com/mozilla/mozjpeg";
license = lib.licenses.bsd3;
# Houses multiple utilities but you're most likely to want to encode a JPEG
# with this as that's the primary purpose of the entire project: encode
# JPEGs better. Technically there is also `djpeg` but it's not officially
# supported:
# https://github.com/mozilla/mozjpeg/issues/309#issuecomment-440674126
mainProgram = "cjpeg";
maintainers = [ ];
platforms = lib.platforms.all;
};