Unverified Commit f9281101 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #287087 from trofi/geos_3_9-gcc-13-fix-update

geos_3_9: 3.9.2 -> 3.9.5
parents b47343cc 964ba378
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, cmake
, testers
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "geos";
  version = "3.9.2";
  version = "3.9.5";

  src = fetchurl {
    url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
    sha256 = "sha256-RKWpviHX1HNDa/Yhwt3MPPWou+PHhuEyKWGKO52GEpc=";
    hash = "sha256-xsmu36iGT7RLp4kRQIRCOCv9BpDPLUCRrjgFyGN4kDY=";
  };

  enableParallelBuilding = true;
  nativeBuildInputs = [ cmake ];

  # https://trac.osgeo.org/geos/ticket/993
  configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
  enableParallelBuilding = true;

  passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;