From f30662cec953ab87ee8c8c51e037e25dc5eeef4d Mon Sep 17 00:00:00 2001 From: Tom Hall Date: Sun, 3 Jan 2021 18:37:19 +0000 Subject: [PATCH] libosmscout: init at 2017.06.30 --- .../libraries/libosmscout/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/libosmscout/default.nix diff --git a/pkgs/development/libraries/libosmscout/default.nix b/pkgs/development/libraries/libosmscout/default.nix new file mode 100644 index 000000000000..2f83963d205f --- /dev/null +++ b/pkgs/development/libraries/libosmscout/default.nix @@ -0,0 +1,24 @@ +{ lib, mkDerivation, fetchgit, cmake, pkg-config +, marisa, qtlocation }: + +mkDerivation rec { + pname = "libosmscout"; + version = "2017.06.30"; + + src = fetchgit { + url = "git://git.code.sf.net/p/libosmscout/code"; + rev = "0c0fde4d9803539c99911389bc918377a93f350c"; + sha256 = "1pa459h52kw88mvsdvkz83f4p35vvgsfy2qfjwcj61gj4y9d2rq4"; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ marisa qtlocation ]; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 82b8bab68f78..5f2281a99713 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15570,6 +15570,8 @@ in libosmocore = callPackage ../applications/misc/libosmocore { }; + libosmscout = libsForQt5.callPackage ../development/libraries/libosmscout { }; + libotr = callPackage ../development/libraries/libotr { }; libow = callPackage ../development/libraries/libow { };