about summary refs log tree commit diff
path: root/pkgs/applications/misc/viking/default.nix
blob: eabd4a020f61b6f9728e5449a82c91843507a927 (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
25
26
27
28
29
30
31
32
33
34
35
36
{ fetchurl, stdenv, pkgconfig, intltool, gettext, gtk, expat, curl
, bc, file }:

stdenv.mkDerivation rec {
  name = "viking-0.9.8";

  src = fetchurl {
    url = "mirror://sourceforge/viking/${name}.tar.gz";
    sha256 = "1is8g6ld5pd13iiv9qm8526q1cblg01pqyakg52sd6k7fys7dz2d";
  };

  patches = [ ./test-bc.patch ];

  buildInputs = [ pkgconfig intltool gettext gtk expat curl bc file ];

  # 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+";
  };
}