2009-05-30 23:32:01 +02:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, gettext, gtk, expat, curl
|
2012-07-01 17:32:03 +02:00
|
|
|
, gpsd, bc, file, gnome_doc_utils, libexif, libxml2, libxslt, scrollkeeper
|
|
|
|
, docbook_xml_dtd_412 }:
|
2009-05-30 22:52:10 +02:00
|
|
|
|
2012-07-01 17:32:03 +02:00
|
|
|
let version = "1.3"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "viking-${version}";
|
2009-05-30 22:52:10 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-01 17:32:03 +02:00
|
|
|
url = "mirror://sourceforge/viking/viking/${version}/viking-${version}.tar.gz";
|
|
|
|
sha256 = "1psgy1myx9xn7zgpvqrpricsv041sz41mm82hj5i28k72fq47p2l";
|
2009-05-30 22:52:10 +02:00
|
|
|
};
|
|
|
|
|
2012-07-01 17:32:03 +02:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool gettext gtk expat curl gpsd bc file gnome_doc_utils
|
|
|
|
libexif libxml2 libxslt scrollkeeper docbook_xml_dtd_412
|
|
|
|
];
|
2009-05-30 23:32:01 +02:00
|
|
|
|
2012-07-01 17:32:03 +02:00
|
|
|
configureFlags = [ "--disable-scrollkeeper" ];
|
|
|
|
|
|
|
|
preBuild =
|
|
|
|
'' sed -i help/Makefile \
|
|
|
|
-e 's|--noout|--noout --nonet --path "${scrollkeeper}/share/xml/scrollkeeper/dtds"|g'
|
|
|
|
'';
|
2009-05-30 22:52:10 +02:00
|
|
|
|
|
|
|
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+";
|
|
|
|
};
|
|
|
|
}
|