libgeotiff: 1.4.3 -> 1.5.1
This commit is contained in:
parent
19ebc0bd45
commit
f424f47fa3
@ -1,18 +1,27 @@
|
|||||||
{ stdenv, fetchurl, libtiff, libjpeg, proj, zlib}:
|
{ stdenv, fetchFromGitHub, libtiff, libjpeg, proj, zlib, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.4.3";
|
version = "1.5.1";
|
||||||
name = "libgeotiff-${version}";
|
name = "libgeotiff-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://download.osgeo.org/geotiff/libgeotiff/${name}.tar.gz";
|
owner = "OSGeo";
|
||||||
sha256 = "0rbjqixi4c8yz19larlzq6jda0px2gpmpp9c52cyhplbjsdhsldq";
|
repo = "libgeotiff";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "081ag23pn2n5y4fkb2rnh4hmcnq92siqiqv0s20jmx0j3s2nvfxy";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
sourceRoot = "source/libgeotiff";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-jpeg=${libjpeg.dev}"
|
"--with-jpeg=${libjpeg.dev}"
|
||||||
"--with-zlib=${zlib.dev}"
|
"--with-zlib=${zlib.dev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
buildInputs = [ libtiff proj ];
|
buildInputs = [ libtiff proj ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user