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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
805 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, testers
}:
2022-03-29 15:04:17 +00:00
stdenv.mkDerivation (finalAttrs: {
2022-03-29 15:04:17 +00:00
pname = "geos";
version = "3.9.2";
src = fetchurl {
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
2022-03-29 15:04:17 +00:00
sha256 = "sha256-RKWpviHX1HNDa/Yhwt3MPPWou+PHhuEyKWGKO52GEpc=";
};
enableParallelBuilding = true;
# https://trac.osgeo.org/geos/ticket/993
configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
2022-03-29 15:04:17 +00:00
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
homepage = "https://trac.osgeo.org/geos";
license = licenses.lgpl21Only;
pkgConfigModules = [ "geos" ];
2022-03-29 15:04:17 +00:00
maintainers = with lib.maintainers; [
willcohen
];
};
})