From d051501d69e8cec8451a64524319f50009853b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 3 Jun 2009 13:52:38 +0000 Subject: [PATCH] Add tangoGPS, a friendly GPS and map user interface. svn path=/nixpkgs/trunk/; revision=15840 --- pkgs/applications/misc/tangogps/default.nix | 37 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/applications/misc/tangogps/default.nix diff --git a/pkgs/applications/misc/tangogps/default.nix b/pkgs/applications/misc/tangogps/default.nix new file mode 100644 index 000000000000..0f47c471c585 --- /dev/null +++ b/pkgs/applications/misc/tangogps/default.nix @@ -0,0 +1,37 @@ +{ fetchurl, stdenv, pkgconfig, gettext, gtk, gconf +, curl, libexif, sqlite }: + +stdenv.mkDerivation rec { + name = "tangogps-0.9.6"; + + src = fetchurl { + url = "http://www.tangogps.org/downloads/${name}.tar.gz"; + sha256 = "04vfbr7skjcfadv9206q2pxbm74i8yypkjwzldsc5a6ybhr7fsp5"; + }; + + buildInputs = [ pkgconfig gettext gtk gconf curl libexif sqlite ]; + + meta = { + description = "tangoGPS, a user friendly map and GPS user interface"; + + 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. + ''; + + homepage = http://www.tangogps.org/; + + license = "GPLv2+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f4938f849847..b02bd7412168 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6918,6 +6918,12 @@ let inherit makeWrapper python; }; + tangogps = import ../applications/misc/tangogps { + inherit fetchurl stdenv pkgconfig gettext curl libexif sqlite; + inherit (gtkLibs) gtk; + gconf = gnome.GConf; + }; + /* does'nt work yet i686-linux only (32bit version) teamspeak_client = import ../applications/networking/instant-messengers/teamspeak/client.nix { inherit fetchurl stdenv;