Unverified Commit b894a641 authored by Kerstin Humm's avatar Kerstin Humm
Browse files
parent 1bf59624
Loading
Loading
Loading
Loading
+4 −13
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  cmake,
  pkg-config,
  bzip2,
@@ -18,23 +17,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "osrm-backend";
  version = "6.0.0";
  version = "26.4.0";

  src = fetchFromGitHub {
    owner = "Project-OSRM";
    repo = "osrm-backend";
    tag = "V${finalAttrs.version}";
    hash = "sha256-R2Sx+DbT6gROI8X1fkxqOGbMqgmsnNiw2rUX6gSZuTs=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-DV0oy++PrOwbybFEFRWnNxGfYshgsqDaHrHuVoTlIXE=";
  };

  patches = [
    (fetchpatch2 {
      name = "Fix-build-with-Boost-1.89.0.patch";
      url = "https://github.com/Project-OSRM/osrm-backend/commit/a2e159d0d4f6b3922ee0cb058a800230cf90642e.patch?full_index=1";
      hash = "sha256-c+4Ll660jHLnFolehCpZQLca4pmyVsBfjwSY1BHBh40=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -70,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
  meta = {
    homepage = "https://project-osrm.org/";
    description = "Open Source Routing Machine computes shortest paths in a graph. It was designed to run well with map data from the Openstreetmap Project";
    changelog = "https://github.com/Project-OSRM/osrm-backend/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    changelog = "https://github.com/Project-OSRM/osrm-backend/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ erictapen ];
    platforms = lib.platforms.unix;