1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libtiff/default.nix

31 lines
774 B
Nix
Raw Normal View History

2015-05-13 14:31:26 +01:00
{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, xz }:
let
2015-09-15 02:31:53 +01:00
version = "4.0.6";
in
stdenv.mkDerivation rec {
name = "libtiff-${version}";
src = fetchurl {
url = "http://download.osgeo.org/libtiff/tiff-${version}.tar.gz";
2015-09-15 02:31:53 +01:00
sha256 = "136nf1rj9dp5jgv1p7z4dk0xy3wki1w0vfjbk82f645m0w4samsd";
};
outputs = [ "bin" "dev" "out" "doc" ];
2014-08-27 00:14:09 +01:00
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection)
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
description = "Library and utilities for working with the TIFF image file format";
homepage = http://www.remotesensing.org/libtiff/;
license = licenses.libtiff;
platforms = platforms.unix;
};
}