mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9de6029cc6
This release includes all our previous CVE patches, and suggets new ones: - CVE-2016-3945 - CVE-2016-3990 - CVE-2016-3991 - CVE-2016-3622 - CVE-2016-9453 - CVE-2016-8127 (duplicate of CVE-2016-3658) - CVE-2016-9297 - CVE-2016-9448
31 lines
782 B
Nix
31 lines
782 B
Nix
{ stdenv, fetchurl, fetchpatch, pkgconfig, zlib, libjpeg, xz }:
|
|
|
|
let
|
|
version = "4.0.7";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "libtiff-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.osgeo.org/libtiff/tiff-${version}.tar.gz";
|
|
sha256 = "06ghqhr4db1ssq0acyyz49gr8k41gzw6pqb6mbn5r7jqp77s4hwz";
|
|
};
|
|
|
|
outputs = [ "bin" "dev" "out" "doc" ];
|
|
|
|
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://download.osgeo.org/libtiff;
|
|
license = licenses.libtiff;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|