valhalla: 3.5.1 -> 3.6.3 (#506961)
This commit is contained in:
@@ -24,21 +24,19 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "valhalla";
|
||||
version = "3.5.1";
|
||||
version = "3.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "valhalla";
|
||||
repo = "valhalla";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-v/EwoJA1j8PuF9jOsmxQL6i+MT0rXbyLUE4HvBHUWDo=";
|
||||
hash = "sha256-Q+h1k26UPiZEVhtonjipUS6gGIUZHM16pYgCxq/Zav0=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/bindings/python/CMakeLists.txt \
|
||||
--replace-fail "\''${Python_SITEARCH}" "${placeholder "out"}/${python3.sitePackages}"
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "rapidjson_include_dir rapidjson" "rapidjson_include_dir RapidJSON"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -79,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/valhalla/valhalla/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
changelog = "https://github.com/valhalla/valhalla/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
description = "Open Source Routing Engine for OpenStreetMap";
|
||||
homepage = "https://valhalla.readthedocs.io/";
|
||||
license = lib.licenses.mit;
|
||||
|
||||
Reference in New Issue
Block a user