2022-03-22 20:03:34 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
2022-06-23 23:49:53 +00:00
|
|
|
, fetchpatch
|
2022-03-22 20:03:34 +00:00
|
|
|
, cmake }:
|
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";
|
2022-07-18 17:40:15 +00:00
|
|
|
version = "3.11.0";
|
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";
|
2022-07-18 17:40:15 +00:00
|
|
|
sha256 = "sha256-eauMq/SqhgTRYVV7UuPk2EV1rNwNCMsJqz96rvpNhYo=";
|
2009-03-06 23:21:28 +00:00
|
|
|
};
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2022-06-23 23:49:53 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
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;
|
2022-03-22 20:04:48 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
willcohen
|
|
|
|
];
|
2007-12-03 16:01:51 +00:00
|
|
|
};
|
2008-12-20 01:20:35 +00:00
|
|
|
}
|