Skip to content

Commit

Permalink
libtiff: 2018-11-04 -> 4.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-d authored and Ekleog committed Nov 28, 2018
1 parent a5de78b commit ac3b358
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions pkgs/development/libraries/libtiff/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,30 @@
{ stdenv
, fetchFromGitLab
, fetchurl

, pkgconfig
, autogen
, autoconf
, automake
, libtool

, zlib
, libjpeg
, xz
}:

stdenv.mkDerivation rec {
version = "2018-11-04";
name = "libtiff-unstable-${version}";

src = fetchFromGitLab {
owner = "libtiff";
repo = "libtiff";
rev = "779e54ca32b09155c10d398227a70038de399d7d";
sha256 = "029fmn0rdmb5gxhg83ff9j2zx3qk6wsiaiv554jq26pdc23achsp";
version = "4.0.10";
name = "libtiff-${version}";

src = fetchurl {
url = "https://download.osgeo.org/libtiff/tiff-${version}.tar.gz";
sha256 = "1r4np635gr6zlc0bic38dzvxia6iqzcrary4n1ylarzpr8fd2lic";
};

outputs = [ "bin" "dev" "out" "man" "doc" ];

nativeBuildInputs = [ pkgconfig autogen autoconf automake libtool ];
nativeBuildInputs = [ pkgconfig ];

propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection)

enableParallelBuilding = true;

preConfigure = "./autogen.sh";

doCheck = true; # not cross;

meta = with stdenv.lib; {
Expand Down

0 comments on commit ac3b358

Please sign in to comment.