gpxsee: 7.31 -> 7.32
This commit is contained in:
parent
2adef714fc
commit
a502146d7a
@ -1,28 +1,24 @@
|
|||||||
{ stdenv, mkDerivation, fetchFromGitHub, qmake, qttools, qttranslations }:
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, qttools, qttranslations, substituteAll }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "gpxsee";
|
pname = "gpxsee";
|
||||||
version = "7.31";
|
version = "7.32";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0y60h66p8ydkinxk9x4sp4cm6gq66nc9jcavy135vmycsiq9gphn";
|
sha256 = "0mcd6zv71laykg1208vkqmaxv1v12mqq47156gb78a5ww8paa0ka";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = (substituteAll {
|
||||||
# See https://github.com/NixOS/nixpkgs/issues/86054
|
# See https://github.com/NixOS/nixpkgs/issues/86054
|
||||||
./fix-qttranslations-path.diff
|
src = ./fix-qttranslations-path.diff;
|
||||||
];
|
inherit qttranslations;
|
||||||
|
});
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace src/GUI/app.cpp \
|
|
||||||
--subst-var-by qttranslations ${qttranslations}
|
|
||||||
'';
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
lrelease gpxsee.pro
|
lrelease gpxsee.pro
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user