1 { lib, stdenvNoCC, fetchurl, makeBinaryWrapper, jre_headless }:
3 stdenvNoCC.mkDerivation rec {
8 url = "https://github.com/google/bundletool/releases/download/${version}/bundletool-all-${version}.jar";
9 sha256 = "sha256-9Fks0DrUgk6N218pPvgAHrU0P9kjCOJhQx8ILzloC+I=";
14 nativeBuildInputs = [ makeBinaryWrapper ];
18 makeWrapper ${jre_headless}/bin/java $out/bin/bundletool --add-flags "-jar $src"
23 description = "Command-line tool to manipulate Android App Bundles";
24 homepage = "https://developer.android.com/studio/command-line/bundletool";
25 changelog = "https://github.com/google/bundletool/releases/tag/${version}";
26 maintainers = with maintainers; [ marsam ];
27 platforms = jre_headless.meta.platforms;
28 license = licenses.asl20;