2021-05-08 12:29:53 -07:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2007-12-03 08:01:51 -08:00
|
|
|
|
2017-01-16 20:07:11 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2021-02-27 09:51:17 -08:00
|
|
|
pname = "geos";
|
|
|
|
version = "3.9.1";
|
2007-12-03 08:01:51 -08:00
|
|
|
|
2009-03-06 15:21:28 -08:00
|
|
|
src = fetchurl {
|
2021-02-27 09:51:17 -08:00
|
|
|
url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "sha256-fmMFB9ysncB1ZdJJom8GoVyfWwxS3SkSmg49OB1+OCo=";
|
2009-03-06 15:21:28 -08:00
|
|
|
};
|
2007-12-03 08:01:51 -08:00
|
|
|
|
2013-07-18 02:40:23 -07:00
|
|
|
enableParallelBuilding = true;
|
2007-12-03 08:01:51 -08:00
|
|
|
|
2020-08-08 10:12:13 -07:00
|
|
|
# https://trac.osgeo.org/geos/ticket/993
|
2021-01-21 09:00:13 -08:00
|
|
|
configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
|
2020-08-08 10:12:13 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2010-07-28 11:01:17 -07:00
|
|
|
description = "C++ port of the Java Topology Suite (JTS)";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://trac.osgeo.org/geos";
|
2021-02-27 09:51:17 -08:00
|
|
|
license = licenses.lgpl21Only;
|
2007-12-03 08:01:51 -08:00
|
|
|
};
|
2008-12-19 17:20:35 -08:00
|
|
|
}
|