2022-04-27 09:35:20 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config
|
|
|
|
, marisa, qttools, qtlocation }:
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "libosmscout";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "2022.04.25";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Framstag";
|
|
|
|
repo = "libosmscout";
|
|
|
|
rev = "4c3b28472864b8e9cdda80a05ec73ef22cb39323";
|
|
|
|
sha256 = "sha256-Qe5TkF4BwlsEI7emC0gdc7SmS4QrSGLiO0QdjuJA09g=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
cmakeFlags = [ "-DOSMSCOUT_BUILD_TESTS=OFF" ];
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2022-04-27 09:35:20 +00:00
|
|
|
buildInputs = [ marisa qttools qtlocation ];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple, high-level interfaces for offline location and POI lokup, rendering and routing functionalities based on OpenStreetMap (OSM) data";
|
|
|
|
homepage = "http://libosmscout.sourceforge.net/";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = [ maintainers.Thra11 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|