Skip to content

Commit

Permalink
gpsbabel: 1.5.3 -> 1.5.4
Browse files Browse the repository at this point in the history
Also really use QT5 and switch download location to GitHub.
  • Loading branch information
rycee committed Jul 23, 2017
1 parent 239b694 commit 9e90d9e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions pkgs/applications/misc/gpsbabel/default.nix
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchurl, fetchpatch, zlib, qt4, which, IOKit }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase }:

stdenv.mkDerivation rec {
name = "gpsbabel-${version}";
version = "1.5.3";
version = "1.5.4";

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 = "0l6c8911f7i5bbdzah9irhqf127ib0b7lv53rb8r9z8g439mznq1";
src = fetchFromGitHub {
owner = "gpsbabel";
repo = "gpsbabel";
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
sha256 = "0v6wpp14zkfbarmksf9dn3wmpj1araxd7xi5xp7gpl7kafb9aiwi";
};

patches = [
Expand All @@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
})
];

buildInputs = [ zlib qt4 which ]
buildInputs = [ zlib qtbase which ]
++ lib.optionals stdenv.isDarwin [ IOKit ];

/* FIXME: Building the documentation, with "make doc", requires this:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -14528,7 +14528,7 @@ with pkgs;

gosmore = callPackage ../applications/misc/gosmore { };

gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel {
gpsbabel = libsForQt56.callPackage ../applications/misc/gpsbabel {
inherit (darwin) IOKit;
};

Expand Down

0 comments on commit 9e90d9e

Please sign in to comment.