gpsbabel: 1.5.2 -> 1.5.3

This commit is contained in:
Robert Helgesson 2017-02-28 23:52:52 +01:00
parent cf9cb1bac3
commit 61237e1738
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -1,16 +1,23 @@
{ stdenv, fetchurl, zlib, qt4, which }:
{ stdenv, fetchurl, fetchpatch, zlib, qt4, which }:
stdenv.mkDerivation rec {
name = "gpsbabel-${version}";
version = "1.5.2";
version = "1.5.3";
src = fetchurl {
# gpgbabel.org makes it hard to get the source tarball automatically, so
# get it from elsewhere.
url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz";
sha256 = "0xf7wmy2m29g2lm8lqc74yf8rf7sxfl3cfwbk7dpf0yf42pb0b6w";
sha256 = "0l6c8911f7i5bbdzah9irhqf127ib0b7lv53rb8r9z8g439mznq1";
};
patches = [
(fetchpatch {
url = https://sources.debian.net/data/main/g/gpsbabel/1.5.3-2/debian/patches/use_minizip;
sha256 = "03fpsmlx1wc48d1j405zkzp8j64hcp0z72islf4mk1immql3ibcr";
})
];
buildInputs = [ zlib qt4 which ];
/* FIXME: Building the documentation, with "make doc", requires this:
@ -19,7 +26,6 @@ stdenv.mkDerivation rec {
But FOP isn't packaged yet. */
preConfigure = "cd gpsbabel";
configureFlags = [ "--with-zlib=system" ]
# Floating point behavior on i686 causes test failures. Preventing
# extended precision fixes this problem.