bundletool: init at 1.11.0

This commit is contained in:
Mario Rodas 2022-07-26 04:20:00 +00:00
parent f5288876d3
commit 70ef315fdc
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib, stdenv, fetchurl, makeBinaryWrapper, jre_headless }:
stdenv.mkDerivation rec {
pname = "bundletool";
version = "1.11.0";
src = fetchurl {
url = "https://github.com/google/bundletool/releases/download/${version}/bundletool-all-${version}.jar";
sha256 = "sha256-xCw2Wuc2ndTcLrwR7uv5FFnwImxTcG/STeTQBiaKuIw=";
};
dontUnpack = true;
nativeBuildInputs = [ makeBinaryWrapper ];
installPhase = ''
runHook preInstall
makeWrapper ${jre_headless}/bin/java $out/bin/bundletool --add-flags "-jar $src"
runHook postInstall
'';
meta = with lib; {
description = "Command-line tool to manipulate Android App Bundles";
homepage = "https://developer.android.com/studio/command-line/bundletool";
changelog = "https://github.com/google/bundletool/releases/tag/${version}";
maintainers = with maintainers; [ marsam ];
platforms = jre_headless.meta.platforms;
license = licenses.asl20;
};
}

View File

@ -3044,6 +3044,8 @@ with pkgs;
buildtorrent = callPackage ../tools/misc/buildtorrent { };
bundletool = callPackage ../development/tools/bundletool { };
bustle = haskellPackages.bustle;
bwm_ng = callPackage ../tools/networking/bwm-ng { };