2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, python }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-19 19:06:45 +00:00
|
|
|
name = "geos-3.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.osgeo.org/geos/${name}.tar.bz2";
|
2021-02-19 19:06:45 +00:00
|
|
|
sha256 = "sha256-vYCCzxL0XydjAZPHi9taPLqEe4HnKyAmg1bCpPwGUmk=";
|
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
|
2021-02-05 17:12:51 +00:00
|
|
|
configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C++ port of the Java Topology Suite (JTS)";
|
|
|
|
homepage = "https://trac.osgeo.org/geos";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|