From c415764a1ec8401f447ddb69005aa25258c22785 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Sat, 25 Jun 2016 13:03:03 +0800 Subject: [PATCH] gpxsee: init at 2.16 --- pkgs/applications/misc/gpxsee/default.nix | 33 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/applications/misc/gpxsee/default.nix diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix new file mode 100644 index 000000000000..58575af462a2 --- /dev/null +++ b/pkgs/applications/misc/gpxsee/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, qmakeHook }: + +stdenv.mkDerivation rec { + name = "gpxsee-${version}"; + version = "2.16"; + + src = fetchFromGitHub { + owner = "tumic0"; + repo = "GPXSee"; + rev = version; + sha256 = "0xqmjh071my9klxlk5afx8r673zlknq84n7ain6mz9i8n9m1gviv"; + }; + + nativeBuildInputs = [ qmakeHook ]; + + patchPhase = '' + sed -i '/lang\/gpxsee_cs.qm/d' gpxsee.qrc + ''; + + preFixup = '' + mkdir -p $out/bin + cp GPXSee $out/bin + ''; + + meta = with stdenv.lib; { + homepage = http://tumic.wz.cz/gpxsee; + description = "GPX viewer and analyzer"; + license = licenses.gpl3; + maintainers = [ maintainers.womfoo ]; + platforms = platforms.linux; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dc47a12f10ad..8b1078c86d02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12977,6 +12977,8 @@ in gpsprune = callPackage ../applications/misc/gpsprune { }; + gpxsee = qt5.callPackage ../applications/misc/gpxsee { }; + gtk2fontsel = callPackage ../applications/misc/gtk2fontsel { inherit (gnome2) gtk; };