Merge pull request #219956 from fgaz/organicmaps/2023.03.05-5

organicmaps: 2023.01.25-3 -> 2023.03.05-5, add updateScript
This commit is contained in:
Francesco Gazzetta 2023-03-09 12:19:39 +00:00 committed by GitHub
commit 4715df0d0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,17 +15,19 @@
, zlib
, icu
, freetype
, pugixml
, nix-update-script
}:
mkDerivation rec {
pname = "organicmaps";
version = "2023.01.25-3";
version = "2023.03.05-5";
src = fetchFromGitHub {
owner = "organicmaps";
repo = "organicmaps";
rev = "${version}-android";
sha256 = "sha256-4nlD/GFOoBOCXVWtC7i6SUquEbob5++GyagZOTznygU=";
sha256 = "sha256-PfudozmrL8jNS/99nxSn0B3E53W34m4/ZN0y2ucB2WI=";
fetchSubmodules = true;
};
@ -55,6 +57,7 @@ mkDerivation rec {
zlib
icu
freetype
pugixml
];
# Yes, this is PRE configure. The configure phase uses cmake
@ -62,6 +65,13 @@ mkDerivation rec {
bash ./configure.sh
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
extraArgs = [ "-vr" "(.*)-android" ];
};
};
meta = with lib; {
# darwin: "invalid application of 'sizeof' to a function type"
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;