Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 95c7441d622c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f37a1fa19477
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 18, 2019

  1. gpxsee: 7.8 -> 7.9

    sikmir authored and dywedir committed Jun 18, 2019
    Copy the full SHA
    8810f54 View commit details
  2. gpxsee: 7.8 -> 7.9 (#63286)

    gpxsee: 7.8 -> 7.9
    dywedir authored Jun 18, 2019
    Copy the full SHA
    f37a1fa View commit details
Showing with 9 additions and 5 deletions.
  1. +9 −5 pkgs/applications/misc/gpxsee/default.nix
14 changes: 9 additions & 5 deletions pkgs/applications/misc/gpxsee/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
{ stdenv, fetchFromGitHub, qmake, qttools }:
{ stdenv, fetchFromGitHub, qmake, qttools, makeWrapper }:

stdenv.mkDerivation rec {
pname = "gpxsee";
version = "7.8";
version = "7.9";

src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
sha256 = "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j";
sha256 = "029l5dhc9nnxiw7p0s4gyfkcqw709z7lz96aq8krs75mfk4fv07k";
};

nativeBuildInputs = [ qmake ];
nativeBuildInputs = [ qmake makeWrapper ];
buildInputs = [ qttools ];

preConfigure = ''
substituteInPlace src/common/programpaths.cpp --replace /usr/share/ $out/share/
lrelease lang/*.ts
'';

enableParallelBuilding = true;

postInstall = ''
wrapProgram $out/bin/gpxsee \
--prefix XDG_DATA_DIRS ":" $out/share
'';

meta = with stdenv.lib; {
homepage = https://www.gpxsee.org/;
description = "GPS log file viewer and analyzer";