Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, docopt, fetchFromGitHub, setuptools, jdk11, psutil,}:
buildPythonPackage (finalAttrs: { pname = "adb-enhanced"; version = "2.8.0"; pyproject = true;
src = fetchFromGitHub { owner = "ashishb"; repo = "adb-enhanced"; tag = finalAttrs.version; hash = "sha256-YuQgz3WeN50hg/IgdoNV61St9gpu6lcgFfKCfI/ENl0="; };
build-system = [ setuptools ];
dependencies = [ psutil docopt ];
postPatch = '' substituteInPlace adbe/adb_enhanced.py \ --replace-fail "f\"java" "f\"${lib.getExe jdk11}" '';
# Disable tests because they require a dedicated Android emulator doCheck = false;
pythonImportsCheck = [ "adbe" ];
meta = { description = "Tool for Android testing and development"; homepage = "https://github.com/ashishb/adb-enhanced"; sourceProvenance = with lib.sourceTypes; [ fromSource binaryBytecode ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ vtuan10 ]; mainProgram = "adbe"; };})