valhalla: init at 3.1.0
This commit is contained in:
parent
f30662cec9
commit
e3c1b424a4
2 changed files with 39 additions and 0 deletions
35
pkgs/development/libraries/valhalla/default.nix
Normal file
35
pkgs/development/libraries/valhalla/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue