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