1 { lib, stdenv, fetchurl
6 stdenv.mkDerivation (finalAttrs: {
11 url = "http://www.ijg.org/files/jpegsrc.v${finalAttrs.version}.tar.gz";
12 sha256 = "sha256-QHfWpqda6wGIT3CJGdJZNMkzBeSffj8225EpMg5vTz0=";
15 configureFlags = lib.optional static "--enable-static --disable-shared";
17 outputs = [ "bin" "dev" "out" "man" ];
19 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
22 homepage = "https://www.ijg.org/";
23 description = "A library that implements the JPEG image file format";
24 maintainers = with maintainers; [ ];
25 license = licenses.free;
26 pkgConfigModules = [ "libjpeg" ];
27 platforms = platforms.unix;