From 1f85a06f899c4a5c0481d102cc6747a17389c649 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 20 Oct 2021 13:23:03 +0200 Subject: [PATCH] python3Packages.adb-enhanced: 2.5.11 -> 2.5.12 --- .../python-modules/adb-enhanced/default.nix | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/adb-enhanced/default.nix b/pkgs/development/python-modules/adb-enhanced/default.nix index 62922efa530c..c38851160c22 100644 --- a/pkgs/development/python-modules/adb-enhanced/default.nix +++ b/pkgs/development/python-modules/adb-enhanced/default.nix @@ -1,8 +1,15 @@ -{ lib, jdk11, fetchFromGitHub, buildPythonPackage, docopt, psutil, pythonOlder }: +{ lib +, buildPythonPackage +, docopt +, fetchFromGitHub +, jdk11 +, psutil +, pythonOlder +}: buildPythonPackage rec { pname = "adb-enhanced"; - version = "2.5.11"; + version = "2.5.12"; disabled = pythonOlder "3.4"; @@ -10,20 +17,25 @@ buildPythonPackage rec { owner = "ashishb"; repo = pname; rev = version; - sha256 = "sha256-jb5O7Qxk2xAX5sax6nqywcGBJao5Xfff9s1yvdfvDCs="; + sha256 = "sha256-OZSLk5qXX6rEclo6JC8o/7Mz0Y2sJqUsLhnrVK4gkVI="; }; + propagatedBuildInputs = [ + psutil + docopt + ]; + postPatch = '' substituteInPlace adbe/adb_enhanced.py \ --replace "cmd = 'java" "cmd = '${jdk11}/bin/java" ''; - propagatedBuildInputs = [ psutil docopt ]; - - # Disable tests because they require a dedicated android emulator + # Disable tests because they require a dedicated Android emulator doCheck = false; - pythonImportsCheck = [ "adbe" ]; + pythonImportsCheck = [ + "adbe" + ]; meta = with lib; { description = "Tool for Android testing and development";