1 { lib, stdenv, fetchFromGitHub, python3, runtimeShell }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-VDBC5n2jWLNJsilX+PV1smL5JeBDj23jYFRwdObXwYs=";
15 pypath="$out/${python3.sitePackages}"
16 mkdir -p $out/bin $pypath
19 cat << EOF > $out/bin/enjarify
21 export PYTHONPATH=$pypath
22 exec ${python3.interpreter} -O -m enjarify.main "\$@"
24 chmod +x $out/bin/enjarify
30 description = "Tool for translating Dalvik bytecode to equivalent Java bytecode";
31 homepage = "https://github.com/google/enjarify/";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ SuperSandro2000 ];