nixpkgs/pkgs/applications/misc/viking/default.nix
Ludovic Courtès b179d2c480 Viking: Link against libgps from `gpsd', thanks to a couple of Debian patches.
svn path=/nixpkgs/trunk/; revision=15810
2009-05-31 15:01:33 +00:00

35 lines
954 B
Nix

{ fetchurl, stdenv, pkgconfig, intltool, gettext, gtk, expat, curl
, gpsd, 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 ./gpsdclient.patch ./implicit-declaration.patch
];
buildInputs = [ pkgconfig intltool gettext gtk expat curl gpsd bc file ];
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+";
};
}