mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
56904d7c42
* libtiff: remove dead source url * libgeotiff: update url
30 lines
774 B
Nix
30 lines
774 B
Nix
{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, xz }:
|
|
|
|
let
|
|
version = "4.0.6";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "libtiff-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.osgeo.org/libtiff/tiff-${version}.tar.gz";
|
|
sha256 = "136nf1rj9dp5jgv1p7z4dk0xy3wki1w0vfjbk82f645m0w4samsd";
|
|
};
|
|
|
|
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://www.remotesensing.org/libtiff/;
|
|
license = licenses.libtiff;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|