about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-05-30 20:52:10 +0000
committerLudovic Courtès <ludo@gnu.org>2009-05-30 20:52:10 +0000
commitaa2fe9764925e94e7dfcf0f3043c13d63fbecc9a (patch)
tree90ade54f5fe5ab1d7c2b2879b98a998a5fb35419 /pkgs
parentda25b2498ba298fa477be1f08c02ec2932f76d14 (diff)
downloadnixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.tar
nixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.tar.gz
nixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.tar.bz2
nixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.tar.lz
nixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.tar.xz
nixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.tar.zst
nixlib-aa2fe9764925e94e7dfcf0f3043c13d63fbecc9a.zip
Add Viking, a GPS trace editor.
svn path=/nixpkgs/trunk/; revision=15804
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/viking/default.nix33
-rw-r--r--pkgs/top-level/all-packages.nix5
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/misc/viking/default.nix b/pkgs/applications/misc/viking/default.nix
new file mode 100644
index 000000000000..9b9387f6053d
--- /dev/null
+++ b/pkgs/applications/misc/viking/default.nix
@@ -0,0 +1,33 @@
+{ fetchurl, stdenv, pkgconfig, intltool, gettext, gtk, expat, curl }:
+
+stdenv.mkDerivation rec {
+  name = "viking-0.9.8";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/viking/${name}.tar.gz";
+    sha256 = "1is8g6ld5pd13iiv9qm8526q1cblg01pqyakg52sd6k7fys7dz2d";
+  };
+
+  buildInputs = [ pkgconfig intltool gettext gtk expat curl ];
+
+  # XXX: Remove this once we have `gpsd' (http://gpsd.berlios.de/).
+  configureFlags = "--disable-realtime-gps-tracking";
+
+  doCheck = true;
+
+  meta = {
+    description = "Viking, a GPS data editor and analyzer";
+
+    longDescription = ''
+      Viking is a free/open source program to manage GPS data.  You
+      can import and plot tracks and waypoints, show Openstreetmaps
+      and/or Terraserver maps under it, download geocaches for an area
+      on the map, make new tracks and waypoints, see real-time GPS
+      position, etc.
+    '';
+
+    homepage = http://viking.sourceforge.net/;
+
+    license = "GPLv2+";
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index be191a6662bb..03eb1c2b2d9f 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -1355,6 +1355,11 @@ let
     inherit fetchurl stdenv ucl zlib;
   };
 
+  viking = import ../applications/misc/viking {
+    inherit fetchurl stdenv pkgconfig intltool gettext expat curl;
+    inherit (gtkLibs) gtk;
+  };
+
   vpnc = import ../tools/networking/vpnc {
     inherit fetchurl stdenv libgcrypt perl gawk
       nettools makeWrapper;