geos: 3.11.2 -> 3.12.1

This commit is contained in:
Ivan Mincik 2023-11-17 16:50:08 +01:00
parent 3b03119bcf
commit f8fda4730f

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, callPackage
, fetchpatch
, fetchurl
, testers
@ -10,23 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.11.2";
version = "3.12.1";
src = fetchurl {
url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
hash = "sha256-sfB3ZpSBxaPmKv/EnpbrBvKBmHpdNv2rIlIX5bgl5Mw=";
hash = "sha256-1up+SSIktRGT6CRP4+wXxNRNB3fzwyyk+xcRQFSaDQM=";
};
patches = [
# Pull upstream fix of `gcc-13` build failure:
# https://github.com/libgeos/geos/pull/805
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/libgeos/geos/commit/bea3188be44075034fd349f5bb117c943bdb7fb1.patch";
hash = "sha256-dQT3Hf9YJchgjon/r46TLIXXbE6C0ZnewyvfYJea4jM=";
})
];
nativeBuildInputs = [ cmake ];
doCheck = true;
@ -40,8 +29,9 @@ stdenv.mkDerivation (finalAttrs: {
description = "C/C++ library for computational geometry with a focus on algorithms used in geographic information systems (GIS) software";
homepage = "https://libgeos.org";
license = licenses.lgpl21Only;
mainProgram = "geosop";
maintainers = teams.geospatial.members;
pkgConfigModules = [ "geos" ];
mainProgram = "geosop";
changelog = "https://github.com/libgeos/geos/releases/tag/${finalAttrs.finalPackage.version}";
};
})