lol

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