nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 36 lines 782 B view raw
1{ stdenv 2, fetchurl 3 4, pkgconfig 5 6, zlib 7, libjpeg 8, xz 9}: 10 11stdenv.mkDerivation rec { 12 version = "4.1.0"; 13 pname = "libtiff"; 14 15 src = fetchurl { 16 url = "https://download.osgeo.org/libtiff/tiff-${version}.tar.gz"; 17 sha256 = "0d46bdvxdiv59lxnb0xz9ywm8arsr6xsapi5s6y6vnys2wjz6aax"; 18 }; 19 20 outputs = [ "bin" "dev" "out" "man" "doc" ]; 21 22 nativeBuildInputs = [ pkgconfig ]; 23 24 propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection) 25 26 enableParallelBuilding = true; 27 28 doCheck = true; # not cross; 29 30 meta = with stdenv.lib; { 31 description = "Library and utilities for working with the TIFF image file format"; 32 homepage = "http://download.osgeo.org/libtiff"; 33 license = licenses.libtiff; 34 platforms = platforms.unix; 35 }; 36}