{ lib , stdenv , fetchgit , jdk_headless , gradle , makeWrapper }: stdenv.mkDerivation rec { pname = "apksigner"; version = "34.0.5-unstable-2024-03-06"; src = fetchgit { # use pname here because the final jar uses this as the filename name = pname; url = "https://android.googlesource.com/platform/tools/apksig"; rev = "ac5cbb07d87cc342fcf07715857a812305d69888"; hash = "sha256-sLAs7XEkhNkQjB/nhBODxI3QzxFvLWM1SBKDuXp6gvw="; }; postPatch = '' cat >> build.gradle <