7 common-updater-scripts,
13 url = "http://mirrors.kodi.tv/addons/omega/addons.xml.gz";
14 updateScript = writeShellScript "update.sh" ''
18 namespace=$(${nix}/bin/nix-instantiate $systemArg --eval -E "with import ./. {}; $attrPath.namespace" | tr -d '"')
19 version=$(${curl}/bin/curl -s -L ${url} | ${gzip}/bin/gunzip -c | ${xmlstarlet}/bin/xml select -T -t -m "//addons/addon[@id='$namespace']" -v @version)
21 ${common-updater-scripts}/bin/update-source-version "$attrPath" "$version"