summary refs log tree commit diff
path: root/pkgs/applications/misc/gpsbabel
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-05-29 23:30:10 +0000
committerLudovic Courtès <ludo@gnu.org>2009-05-29 23:30:10 +0000
commit71d1aa7d84b7c665d7687d759cf956b6d18b8233 (patch)
treee5c5419d00dd67c4613288cacc5c8c1b8a2d3165 /pkgs/applications/misc/gpsbabel
parent410403c406aec4137f92bff9195f4ec1f855409c (diff)
downloadnixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.tar
nixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.tar.gz
nixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.tar.bz2
nixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.tar.lz
nixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.tar.xz
nixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.tar.zst
nixpkgs-71d1aa7d84b7c665d7687d759cf956b6d18b8233.zip
Add GPSBabel.
svn path=/nixpkgs/trunk/; revision=15801
Diffstat (limited to 'pkgs/applications/misc/gpsbabel')
-rw-r--r--pkgs/applications/misc/gpsbabel/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gpsbabel/default.nix b/pkgs/applications/misc/gpsbabel/default.nix
new file mode 100644
index 00000000000..a8ccb1c0fef
--- /dev/null
+++ b/pkgs/applications/misc/gpsbabel/default.nix
@@ -0,0 +1,48 @@
+{ fetchurl, stdenv, zlib, expat }:
+
+stdenv.mkDerivation rec {
+  name = "gpsbabel-1.3.6";
+
+  src = fetchurl {
+    url = "http://www.gpsbabel.org/plan9.php?dl=${name}.tar.gz";
+    name = "${name}.tar.gz";
+    sha256 = "1dm9lpcdsj0vz699zz932xc1vphvap627wl0qp61izlkzh25vg88";
+  };
+
+  buildInputs = [ zlib expat ];
+
+  /* FIXME: Building the documentation, with "make doc", requires this:
+
+      [ libxml2 libxslt perl docbook_xml_dtd_412 docbook_xsl fop ]
+
+    But FOP isn't packaged yet.  */
+
+  configureFlags = "--with-zlib=system";
+
+  meta = {
+    description = "GPSBabel, a tool to convert, upload and download data from GPS and Map programs";
+
+    longDescription = ''
+      GPSBabel converts waypoints, tracks, and routes between popular
+      GPS receivers and mapping programs.  It also has powerful
+      manipulation tools for such data.
+
+      By flattening the Tower of Babel that the authors of various
+      programs for manipulating GPS data have imposed upon us, it
+      returns to us the ability to freely move our own waypoint data
+      between the programs and hardware we choose to use.
+
+      It contains extensive data manipulation abilities making it a
+      convenient for server-side processing or as the backend for
+      other tools.
+
+      It does not convert, transfer, send, or manipulate maps.  We
+      process data that may (or may not be) placed on a map, such as
+      waypoints, tracks, and routes.
+    '';
+
+    homepage = http://www.gpsbabel.org/;
+
+    license = "GPLv2+";
+  };
+}