nixpkgs/pkgs/development/libraries/libosmscout/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
857 B
Nix
Raw Normal View History

2022-04-27 18:57:17 +00:00
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config
, marisa, qttools, qtlocation }:
2021-01-03 18:37:19 +00:00
mkDerivation rec {
pname = "libosmscout";
2022-04-27 18:57:17 +00:00
version = "2022.04.25";
2021-01-03 18:37:19 +00:00
2022-04-27 18:57:17 +00:00
src = fetchFromGitHub {
owner = "Framstag";
repo = "libosmscout";
rev = "4c3b28472864b8e9cdda80a05ec73ef22cb39323";
sha256 = "sha256-Qe5TkF4BwlsEI7emC0gdc7SmS4QrSGLiO0QdjuJA09g=";
2021-01-03 18:37:19 +00:00
};
cmakeFlags = [ "-DOSMSCOUT_BUILD_TESTS=OFF" ];
2021-01-03 18:37:19 +00:00
nativeBuildInputs = [ cmake pkg-config ];
2022-04-27 18:57:17 +00:00
buildInputs = [ marisa qttools qtlocation ];
2021-01-03 18:37:19 +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;
};
}