nixpkgs-suyu/pkgs/development/libraries/libtiff/default.nix

37 lines
781 B
Nix
Raw Normal View History

{ stdenv
2018-11-27 11:11:03 +01:00
, fetchurl
, pkgconfig
, zlib
, libjpeg
, xz
}:
stdenv.mkDerivation rec {
2018-11-27 11:11:03 +01:00
version = "4.0.10";
pname = "libtiff";
2018-11-27 11:11:03 +01:00
src = fetchurl {
url = "https://download.osgeo.org/libtiff/tiff-${version}.tar.gz";
sha256 = "1r4np635gr6zlc0bic38dzvxia6iqzcrary4n1ylarzpr8fd2lic";
};
outputs = [ "bin" "dev" "out" "man" "doc" ];
2014-08-27 01:14:09 +02:00
2018-11-27 11:11:03 +01:00
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection)
enableParallelBuilding = true;
doCheck = true; # not cross;
meta = with stdenv.lib; {
description = "Library and utilities for working with the TIFF image file format";
homepage = http://download.osgeo.org/libtiff;
license = licenses.libtiff;
platforms = platforms.unix;
};
}