depot/pkgs/development/libraries/geos/3.9.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
750 B
Nix

{ lib
, stdenv
, fetchurl
, cmake
, testers
}:
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.9.5";
src = fetchurl {
url = "https://download.osgeo.org/geos/geos-${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
];
};
})