geos: keep version 3.11 of package

Keep old version of package due to requirements
of following packages:

* kikit
* pygeos

+49
+47
pkgs/development/libraries/geos/3.11.nix
··· 1 + { lib 2 + , stdenv 3 + , callPackage 4 + , fetchpatch 5 + , fetchurl 6 + , testers 7 + 8 + , cmake 9 + }: 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "geos"; 13 + version = "3.11.2"; 14 + 15 + src = fetchurl { 16 + url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; 17 + hash = "sha256-sfB3ZpSBxaPmKv/EnpbrBvKBmHpdNv2rIlIX5bgl5Mw="; 18 + }; 19 + 20 + patches = [ 21 + # Pull upstream fix of `gcc-13` build failure: 22 + # https://github.com/libgeos/geos/pull/805 23 + (fetchpatch { 24 + name = "gcc-13.patch"; 25 + url = "https://github.com/libgeos/geos/commit/bea3188be44075034fd349f5bb117c943bdb7fb1.patch"; 26 + hash = "sha256-dQT3Hf9YJchgjon/r46TLIXXbE6C0ZnewyvfYJea4jM="; 27 + }) 28 + ]; 29 + 30 + nativeBuildInputs = [ cmake ]; 31 + 32 + doCheck = true; 33 + 34 + passthru.tests = { 35 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 36 + geos = callPackage ./tests.nix { geos = finalAttrs.finalPackage; }; 37 + }; 38 + 39 + meta = with lib; { 40 + description = "C/C++ library for computational geometry with a focus on algorithms used in geographic information systems (GIS) software"; 41 + homepage = "https://libgeos.org"; 42 + license = licenses.lgpl21Only; 43 + maintainers = teams.geospatial.members; 44 + pkgConfigModules = [ "geos" ]; 45 + mainProgram = "geosop"; 46 + }; 47 + })
+2
pkgs/top-level/all-packages.nix
··· 21455 21455 21456 21456 geos39 = callPackage ../development/libraries/geos/3.9.nix { }; 21457 21457 21458 + geos311 = callPackage ../development/libraries/geos/3.11.nix { }; 21459 + 21458 21460 getdata = callPackage ../development/libraries/getdata { }; 21459 21461 21460 21462 inherit (callPackages ../development/libraries/getdns { })