2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, python }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-09 03:18:52 +00:00
|
|
|
pname = "geos";
|
|
|
|
version = "3.9.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-09 03:18:52 +00:00
|
|
|
url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "sha256-fmMFB9ysncB1ZdJJom8GoVyfWwxS3SkSmg49OB1+OCo=";
|
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";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|