nixpkgs/pkgs/development/libraries/geos/default.nix

24 lines
594 B
Nix
Raw Normal View History

{ stdenv, fetchurl, python }:
2017-01-17 04:07:11 +00:00
stdenv.mkDerivation rec {
2020-05-05 02:06:04 +00:00
name = "geos-3.8.1";
src = fetchurl {
url = "https://download.osgeo.org/geos/${name}.tar.bz2";
2020-05-05 02:06:04 +00:00
sha256 = "1xqpmr10xi0n9sj47fbwc89qb0yr9imh4ybk0jsxpffy111syn22";
};
enableParallelBuilding = true;
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
configureFlags = stdenv.lib.optional stdenv.isAarch32 "--disable-inline";
2019-06-06 14:45:09 +00:00
meta = with stdenv.lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
2019-06-06 14:45:09 +00:00
license = licenses.lgpl21;
};
}