Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 23 lines 577 B view raw
1{ stdenv, fetchurl, static ? false }: 2 3with stdenv.lib; 4 5stdenv.mkDerivation { 6 name = "libjpeg-8d"; 7 8 src = fetchurl { 9 url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz; 10 sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"; 11 }; 12 13 configureFlags = optional static "--enable-static --disable-shared"; 14 15 outputs = [ "bin" "dev" "out" "man" ]; 16 17 meta = { 18 homepage = http://www.ijg.org/; 19 description = "A library that implements the JPEG image file format"; 20 license = stdenv.lib.licenses.free; 21 platforms = stdenv.lib.platforms.unix; 22 }; 23}