1 { lib, stdenv, libpng, fetchFromGitHub, pkg-config }:
8 src = fetchFromGitHub {
12 sha256 = "1wy9wfvyradp0aigfv8yijvj0dgb5kpq2yf2xki15f605jc1r5dm";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ libpng ];
19 install bin/Release/guetzli $out/bin/
23 description = "Perceptual JPEG encoder";
24 longDescription = "Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality.";
25 homepage = "https://github.com/google/guetzli";
26 license = lib.licenses.asl20;
27 platforms = lib.platforms.x86_64;
28 maintainers = [ lib.maintainers.seppeljordan ];