nixpkgs/pkgs/development/libraries/geos/default.nix
Ivan Mincik 6480e5cd8d geos: 3.11.1 -> 3.11.2
This change also removes unused `fetchpatch` function.
2023-03-20 12:36:46 +01:00

33 lines
718 B
Nix

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