Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, zlib, libpng, libjpeg, lcms2 }: 2 3stdenv.mkDerivation rec { 4 pname = "libmng"; 5 version = "2.0.3"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libmng/${pname}-${version}.tar.xz"; 9 sha256 = "1lvxnpds0vcf0lil6ia2036ghqlbl740c4d2sz0q5g6l93fjyija"; 10 }; 11 12 outputs = [ "out" "dev" "devdoc" ]; 13 outputMan= "devdoc"; 14 15 propagatedBuildInputs = [ zlib libpng libjpeg lcms2 ]; 16 17 meta = with lib; { 18 description = "Reference library for reading, displaying, writing and examining Multiple-Image Network Graphics"; 19 homepage = "http://www.libmng.com"; 20 license = licenses.zlib; 21 maintainers = with maintainers; [ marcweber ]; 22 platforms = platforms.unix; 23 }; 24}