Merge pull request #111716 from fabaff/bump-androidtv

authored by

Sandro and committed by
GitHub
71ab9d5d e44011c1

+20 -9
+20 -9
pkgs/development/python-modules/androidtv/default.nix
··· 1 - { aiofiles, adb-shell, buildPythonPackage, fetchFromGitHub, isPy3k, lib, mock 2 - , pure-python-adb, python }: 1 + { lib 2 + , adb-shell 3 + , aiofiles 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , isPy3k 7 + , mock 8 + , pure-python-adb 9 + , pytestCheckHook 10 + , python 11 + }: 3 12 4 13 buildPythonPackage rec { 5 14 pname = "androidtv"; 6 - version = "0.0.50"; 15 + version = "0.0.57"; 7 16 8 17 # pypi does not contain tests, using github sources instead 9 18 src = fetchFromGitHub { 10 19 owner = "JeffLIrion"; 11 20 repo = "python-androidtv"; 12 21 rev = "v${version}"; 13 - sha256 = "1iqw40szwgzvhv3fbnx2wwfnw0d3clcwk9vsq1xsn30fjil2vl7b"; 22 + sha256 = "sha256-xOLMUf72VHeBzbMnhJGOnUIKkflnY4rV9NS/P1aYLJc="; 14 23 }; 15 24 16 25 propagatedBuildInputs = [ adb-shell pure-python-adb ] 17 26 ++ lib.optionals (isPy3k) [ aiofiles ]; 18 27 19 - checkInputs = [ mock ]; 20 - checkPhase = '' 21 - ${python.interpreter} -m unittest discover -s tests -t . 22 - ''; 28 + checkInputs = [ 29 + mock 30 + pytestCheckHook 31 + ]; 32 + 33 + pythonImportsCheck = [ "androidtv" ]; 23 34 24 35 meta = with lib; { 25 36 description = 26 - "Communicate with an Android TV or Fire TV device via ADB over a network."; 37 + "Communicate with an Android TV or Fire TV device via ADB over a network"; 27 38 homepage = "https://github.com/JeffLIrion/python-androidtv/"; 28 39 license = licenses.mit; 29 40 maintainers = with maintainers; [ jamiemagee ];