2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
name = "geos-3.8.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.osgeo.org/geos/${name}.tar.bz2";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "1xqpmr10xi0n9sj47fbwc89qb0yr9imh4ybk0jsxpffy111syn22";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
# https://trac.osgeo.org/geos/ticket/993
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isAarch32 "--disable-inline";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ port of the Java Topology Suite (JTS)";
|
|
|
|
homepage = "https://trac.osgeo.org/geos";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|