2016-09-11 23:24:51 +02:00
|
|
|
{ fetchurl, stdenv, pkgconfig, gettext, gtk2, gconf
|
2009-12-25 22:30:46 +01:00
|
|
|
, curl, libexif, sqlite, libxml2 }:
|
2009-06-03 15:52:38 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-12-25 22:30:46 +01:00
|
|
|
name = "tangogps-0.99.2";
|
2009-06-03 15:52:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.tangogps.org/downloads/${name}.tar.gz";
|
2009-12-25 22:30:46 +01:00
|
|
|
sha256 = "15q2kkrv4mfsivfdzjgpxr7s2amw7d501q2ayjl3ff4vmvfn5516";
|
2009-06-03 15:52:38 +02:00
|
|
|
};
|
|
|
|
|
2016-09-11 23:24:51 +02:00
|
|
|
buildInputs = [ pkgconfig gettext gtk2 gconf curl libexif sqlite libxml2 ];
|
2009-06-03 15:52:38 +02:00
|
|
|
|
2013-02-28 14:07:50 +01:00
|
|
|
# bogus includes fail with newer library version
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's,#include <glib/.*>,#include <glib.h>,g' src/*.c
|
|
|
|
sed -i -e 's,#include <curl/.*>,#include <curl/curl.h>,g' src/*.c src/*.h
|
|
|
|
'';
|
|
|
|
|
2009-06-03 15:52:38 +02:00
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "User friendly map and GPS user interface";
|
2009-06-03 15:52:38 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
tangoGPS is an easy to use, fast and lightweight mapping
|
|
|
|
application for use with or without GPS.
|
|
|
|
|
|
|
|
It runs on any Linux platform from the desktop over eeePC down
|
|
|
|
to phones like the Openmoko Neo.
|
|
|
|
|
|
|
|
By default tangoGPS uses map data from the OpenStreetMap
|
|
|
|
project. Additionally a variety of other repositories can be
|
|
|
|
easily added.
|
|
|
|
|
|
|
|
The maps are automagically downloaded and cached for offline use
|
|
|
|
while you drag or zoom the map. Furthermore you can
|
|
|
|
conveniently pre-cache areas with tangoGPS.
|
|
|
|
'';
|
|
|
|
|
2013-02-28 14:07:50 +01:00
|
|
|
#homepage = http://www.tangogps.org/; # no longer valid, I couldn't find any other
|
2009-06-03 15:52:38 +02:00
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-06-03 15:52:38 +02:00
|
|
|
};
|
|
|
|
}
|