Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, docopt, fetchFromGitHub, jdk11, psutil, pythonOlder}:
buildPythonPackage rec { pname = "adb-enhanced"; version = "2.5.21"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "ashishb"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-kisP2RXpQa5uc53M3wcqN+1xgE/MGa2dVYzHnr1dgX8="; };
propagatedBuildInputs = [ psutil docopt ];
postPatch = '' substituteInPlace adbe/adb_enhanced.py \ --replace "cmd = 'java" "cmd = '${jdk11}/bin/java" '';
# Disable tests because they require a dedicated Android emulator doCheck = false;
pythonImportsCheck = [ "adbe" ];
meta = with lib; { description = "Tool for Android testing and development"; homepage = "https://github.com/ashishb/adb-enhanced"; sourceProvenance = with sourceTypes; [ fromSource binaryBytecode ]; license = licenses.asl20; maintainers = with maintainers; [ vtuan10 ]; mainProgram = "adbe"; };}