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-OK6KELzazvB+zOghEYjFySs3a+lto4/z7h8s9IlbLLg=";
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 sourceProvenance = with sourceTypes; [ binaryBytecode ];
27 maintainers = with maintainers; [ marsam ];
28 platforms = jre_headless.meta.platforms;
29 license = licenses.asl20;