gpxlab: fix localization
(cherry picked from commit b931540229865e96ed515f0a041960c45a3069c2)
This commit is contained in:
committed by
Bjørn Forsman
parent
4a6b102088
commit
3e1e2b277f
@@ -1,4 +1,6 @@
|
||||
{ stdenv, mkDerivation, lib, fetchFromGitHub, qmake, qttools, qttranslations }:
|
||||
{ stdenv, mkDerivation, lib, fetchFromGitHub, substituteAll
|
||||
, qmake, qttools, qttranslations
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "gpxlab";
|
||||
@@ -11,8 +13,13 @@ mkDerivation rec {
|
||||
sha256 = "080vnwcciqblfrbfyz9gjhl2lqw1hkdpbgr5qfrlyglkd4ynjd84";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qttools qttranslations ];
|
||||
patches = (substituteAll {
|
||||
# See https://github.com/NixOS/nixpkgs/issues/86054
|
||||
src = ./fix-qttranslations-path.patch;
|
||||
inherit qttranslations;
|
||||
});
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
|
||||
preConfigure = ''
|
||||
lrelease GPXLab/locale/*.ts
|
||||
@@ -24,8 +31,6 @@ mkDerivation rec {
|
||||
wrapQtApp $out/Applications/GPXLab.app/Contents/MacOS/GPXLab
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/BourgeoisLab/GPXLab";
|
||||
description = "Program to show and manipulate GPS tracks";
|
||||
|
||||
Reference in New Issue
Block a user