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

24 lines
585 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, python }:
2017-01-17 04:07:11 +00:00
stdenv.mkDerivation rec {
2020-05-05 03:06:04 +01:00
name = "geos-3.8.1";
src = fetchurl {
url = "https://download.osgeo.org/geos/${name}.tar.bz2";
2020-05-05 03:06:04 +01:00
sha256 = "1xqpmr10xi0n9sj47fbwc89qb0yr9imh4ybk0jsxpffy111syn22";
};
enableParallelBuilding = true;
2017-01-17 04:07:11 +00:00
buildInputs = [ python ];
2020-08-08 18:12:13 +01:00
# https://trac.osgeo.org/geos/ticket/993
configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
2020-08-08 18:12:13 +01:00
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
2019-06-06 15:45:09 +01:00
license = licenses.lgpl21;
};
}