valhalla: init at 3.1.0

This commit is contained in:
Tom Hall 2021-01-03 19:41:02 +00:00
parent f30662cec9
commit e3c1b424a4
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, zlib, curl, protobuf, prime-server, boost, sqlite, libspatialite
, luajit, geos, python3, zeromq }:
stdenv.mkDerivation rec {
pname = "valhalla";
version = "3.1.0";
src = fetchFromGitHub {
owner = "valhalla";
repo = "valhalla";
rev = version;
sha256 = "04vxvzy6hnhdvb9lh1p5vqzzi2drv0g4l2gnbdp44glipbzgd4dr";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
zlib curl protobuf prime-server boost sqlite libspatialite
luajit geos python3 zeromq
];
cmakeFlags = [
"-DENABLE_TESTS=OFF"
"-DENABLE_BENCHMARKS=OFF"
];
meta = with lib; {
description = "Open Source Routing Engine for OpenStreetMap";
homepage = "https://valhalla.readthedocs.io/";
license = licenses.mit;
maintainers = [ maintainers.Thra11 ];
platforms = platforms.linux;
};
}

View file

@ -17324,6 +17324,10 @@ in
vale = callPackage ../tools/text/vale { };
valhalla = callPackage ../development/libraries/valhalla {
boost = boost.override { enablePython = true; python = python38; };
};
vamp-plugin-sdk = callPackage ../development/libraries/audio/vamp-plugin-sdk { };
vc = callPackage ../development/libraries/vc { };