Commit 63203ec1 authored by Francesco Gazzetta's avatar Francesco Gazzetta
Browse files

organicmaps: 2024.11.27-12 -> 2025.01.26-9

parent 049a854b
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, ninja
, pkg-config
@@ -31,24 +30,16 @@ let
  };
in stdenv.mkDerivation rec {
  pname = "organicmaps";
  version = "2024.11.27-12";
  version = "2025.01.26-9";

  src = fetchFromGitHub {
    owner = "organicmaps";
    repo = "organicmaps";
    rev = "${version}-android";
    hash = "sha256-lBEDPqxdnaajMHlf7G/d1TYYL9yPZo8AGekoKmF1ObM=";
    hash = "sha256-pzZmaOBo4aYywprxrJa3Rk9Uu3w+Q6XdVdcPmV0cSUs=";
    fetchSubmodules = true;
  };

  patches = [
    # Fix for https://github.com/organicmaps/organicmaps/issues/7838
    (fetchpatch {
      url = "https://github.com/organicmaps/organicmaps/commit/1caf64e315c988cd8d5196c80be96efec6c74ccc.patch";
      hash = "sha256-k3VVRgHCFDhviHxduQMVRUUvQDgMwFHIiDZKa4BNTyk=";
    })
  ];

  postPatch = ''
    # Disable certificate check. It's dependent on time
    echo "exit 0" > tools/unix/check_cert.sh