Commit 3885b6dd authored by Robert Schütz's avatar Robert Schütz
Browse files

proj: don't add cURL dependency to CMake config

parent 82f891e2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, buildPackages
@@ -23,6 +24,15 @@ stdenv.mkDerivation rec {
    hash = "sha256-Upsp72RorV+5PFPHOK3zCJgVTRZ6fSVVFRope8Bp8/M=";
  };

  patches = [
    # https://github.com/OSGeo/PROJ/pull/3252
    (fetchpatch {
      name = "only-add-find_dependencyCURL-for-static-builds.patch";
      url = "https://github.com/OSGeo/PROJ/commit/11f4597bbb7069bd5d4391597808703bd96df849.patch";
      hash = "sha256-4w5Cu2m5VJZr6E2dUVRyWJdED2TyS8cI8G20EwfQ4u0=";
    })
  ];

  outputs = [ "out" "dev" ];

  nativeBuildInputs = [ cmake pkg-config ];