gpsbabel: 1.4.3 -> 1.5.2

Also clean up package and add myself as maintainer.
This commit is contained in:
Robert Helgesson 2015-10-27 23:38:21 +01:00
parent 612b6b7a8d
commit 98f0019df6

View File

@ -1,19 +1,17 @@
{ fetchurl, stdenv, zlib, expat, which }: { stdenv, fetchurl, zlib, qt5, which }:
let version = "1.4.3"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "gpsbabel-${version}"; name = "gpsbabel-${version}";
version = "1.5.2";
src = fetchurl { src = fetchurl {
# gpgbabel.org makes it hard to get the source tarball automatically, so # gpgbabel.org makes it hard to get the source tarball automatically, so
# get it from elsewhere. # get it from elsewhere.
url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz"; url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz";
sha256 = "1s31xa36ivf836h89m1f3qiaz3c3znvqjdm0bnh8vr2jjlrz9jdi"; sha256 = "0xf7wmy2m29g2lm8lqc74yf8rf7sxfl3cfwbk7dpf0yf42pb0b6w";
}; };
# FIXME: Would need libxml2 for one of the tests, but that in turns require buildInputs = [ zlib qt5.base which ];
# network access for the XML schemas.
buildInputs = [ zlib expat which ];
/* FIXME: Building the documentation, with "make doc", requires this: /* FIXME: Building the documentation, with "make doc", requires this:
@ -25,10 +23,14 @@ stdenv.mkDerivation {
configureFlags = [ "--with-zlib=system" ]; configureFlags = [ "--with-zlib=system" ];
doCheck = true; doCheck = true;
preCheck = ''
patchShebangs testo
substituteInPlace testo \
--replace "-x /usr/bin/hexdump" ""
'';
meta = { meta = with stdenv.lib; {
description = "Convert, upload and download data from GPS and Map programs"; description = "Convert, upload and download data from GPS and Map programs";
longDescription = '' longDescription = ''
GPSBabel converts waypoints, tracks, and routes between popular GPSBabel converts waypoints, tracks, and routes between popular
GPS receivers and mapping programs. It also has powerful GPS receivers and mapping programs. It also has powerful
@ -47,12 +49,9 @@ stdenv.mkDerivation {
process data that may (or may not be) placed on a map, such as process data that may (or may not be) placed on a map, such as
waypoints, tracks, and routes. waypoints, tracks, and routes.
''; '';
homepage = http://www.gpsbabel.org/; homepage = http://www.gpsbabel.org/;
license = licenses.gpl2Plus;
license = stdenv.lib.licenses.gpl2Plus; maintainers = [ maintainers.rycee ];
platforms = platforms.all;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
}; };
} }