mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
gpsbabel: 1.5.2 -> 1.5.3
This commit is contained in:
parent
cf9cb1bac3
commit
61237e1738
1 changed files with 10 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue