git.iko.soy/typeable/nixpkgs
on master help sign in
gpxsee: 7.31 -> 7.32
commita502146d7adca79e716474bc979f0b0730ffd9f5 authorNikolay Korotkiy <sikmir@gmail.com> dateWed 23 Sep 2020, 09:49 (6 years ago) parent2adef71
1 file changed+7−11
pkgs/applications/misc/gpxsee/default.nix+7−11
pkgs/applications/misc/gpxsee/default.nix+7−11
@@ -1,28 +1,24 @@
1−{ stdenv, mkDerivation, fetchFromGitHub, qmake, qttools, qttranslations }:
1+{ stdenv, mkDerivation, fetchFromGitHub, qmake, qttools, qttranslations, substituteAll }:
22
33mkDerivation rec {
44 pname = "gpxsee";
5− version = "7.31";
5+ version = "7.32";
66
77 src = fetchFromGitHub {
88 owner = "tumic0";
99 repo = "GPXSee";
1010 rev = version;
11− sha256 = "0y60h66p8ydkinxk9x4sp4cm6gq66nc9jcavy135vmycsiq9gphn";
11+ sha256 = "0mcd6zv71laykg1208vkqmaxv1v12mqq47156gb78a5ww8paa0ka";
1212 };
1313
14− patches = [
14+ patches = (substituteAll {
1515 # See https://github.com/NixOS/nixpkgs/issues/86054
16− ./fix-qttranslations-path.diff
17− ];
16+ src = ./fix-qttranslations-path.diff;
17+ inherit qttranslations;
18+ });
1819
1920 nativeBuildInputs = [ qmake qttools ];
2021
21− postPatch = ''
22− substituteInPlace src/GUI/app.cpp \
23− --subst-var-by qttranslations ${qttranslations}
24− '';
25−
2622 preConfigure = ''
2723 lrelease gpxsee.pro
2824 '';