lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 40 lines 1.2 kB view raw
1{ stdenv, fetchurl, fetchpatch, pkgconfig, zlib, libjpeg, xz }: 2 3let 4 version = "4.0.8"; 5in 6stdenv.mkDerivation rec { 7 name = "libtiff-${version}"; 8 9 src = fetchurl { 10 url = "http://download.osgeo.org/libtiff/tiff-${version}.tar.gz"; 11 sha256 = "0419mh6kkhz5fkyl77gv0in8x4d2jpdpfs147y8mj86rrjlabmsr"; 12 }; 13 14 prePatch =let 15 debian = fetchurl { 16 url = http://snapshot.debian.org/archive/debian-debug/20170602T031313Z/pool/main/t/tiff/tiff_4.0.8-2.debian.tar.xz; 17 sha256 = "1ssjh6vn9rvl2jwm34i3p89g8lj0c7fj3cziva9rj4vasfps58ng"; 18 }; 19 in '' 20 tar xf '${debian}' 21 patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')" 22 ''; 23 24 outputs = [ "bin" "dev" "out" "man" "doc" ]; 25 26 nativeBuildInputs = [ pkgconfig ]; 27 28 propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection) 29 30 enableParallelBuilding = true; 31 32 doCheck = true; 33 34 meta = with stdenv.lib; { 35 description = "Library and utilities for working with the TIFF image file format"; 36 homepage = http://download.osgeo.org/libtiff; 37 license = licenses.libtiff; 38 platforms = platforms.unix; 39 }; 40}