about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libosmscout/default.nix
blob: 2f83963d205f11bb13a5ff5b7de882a1a01b29cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
  };
}