Skip to content

Commit 9e90d9e

Browse files
committedJul 23, 2017
gpsbabel: 1.5.3 -> 1.5.4
Also really use QT5 and switch download location to GitHub.
1 parent 239b694 commit 9e90d9e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
 

‎pkgs/applications/misc/gpsbabel/default.nix

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
{ lib, stdenv, fetchurl, fetchpatch, zlib, qt4, which, IOKit }:
1+
{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase }:
22

33
stdenv.mkDerivation rec {
44
name = "gpsbabel-${version}";
5-
version = "1.5.3";
5+
version = "1.5.4";
66

7-
src = fetchurl {
8-
# gpgbabel.org makes it hard to get the source tarball automatically, so
9-
# get it from elsewhere.
10-
url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz";
11-
sha256 = "0l6c8911f7i5bbdzah9irhqf127ib0b7lv53rb8r9z8g439mznq1";
7+
src = fetchFromGitHub {
8+
owner = "gpsbabel";
9+
repo = "gpsbabel";
10+
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
11+
sha256 = "0v6wpp14zkfbarmksf9dn3wmpj1araxd7xi5xp7gpl7kafb9aiwi";
1212
};
1313

1414
patches = [
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
})
2020
];
2121

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

2525
/* FIXME: Building the documentation, with "make doc", requires this:

‎pkgs/top-level/all-packages.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -14528,7 +14528,7 @@ with pkgs;
1452814528

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

14531-
gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel {
14531+
gpsbabel = libsForQt56.callPackage ../applications/misc/gpsbabel {
1453214532
inherit (darwin) IOKit;
1453314533
};
1453414534

0 commit comments

Comments
 (0)
Please sign in to comment.