organicmaps: add updateScript

This commit is contained in:
Francesco Gazzetta 2023-03-07 10:08:18 +01:00
parent 546adc67e7
commit f59d3afcd5

View file

@ -16,6 +16,7 @@
, icu , icu
, freetype , freetype
, pugixml , pugixml
, nix-update-script
}: }:
mkDerivation rec { mkDerivation rec {
@ -64,6 +65,13 @@ mkDerivation rec {
bash ./configure.sh bash ./configure.sh
''; '';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
extraArgs = [ "-vr" "(.*)-android" ];
};
};
meta = with lib; { meta = with lib; {
# darwin: "invalid application of 'sizeof' to a function type" # darwin: "invalid application of 'sizeof' to a function type"
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;