depot/third_party/nixpkgs/pkgs/development/libraries/geos/3.9.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

33 lines
765 B
Nix

{ lib
, stdenv
, fetchurl
, cmake
, testers
}:
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.9.5";
src = fetchurl {
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
hash = "sha256-xsmu36iGT7RLp4kRQIRCOCv9BpDPLUCRrjgFyGN4kDY=";
};
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "C++ port of the Java Topology Suite (JTS)";
mainProgram = "geos-config";
homepage = "https://trac.osgeo.org/geos";
license = licenses.lgpl21Only;
pkgConfigModules = [ "geos" ];
maintainers = with lib.maintainers; [
willcohen
];
};
})