Merge pull request #183043 from marsam/init-bundletool
bundletool: init at 1.11.0
This commit is contained in:
commit
98a98b2913
2 changed files with 32 additions and 0 deletions
30
pkgs/development/tools/bundletool/default.nix
Normal file
30
pkgs/development/tools/bundletool/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue