Merge pull request #158336 from fabaff/bump-androidtv

python3Packages.androidtv: 0.0.60 -> 0.0.63
This commit is contained in:
Ben Siraphob 2022-02-06 21:21:07 +00:00 committed by GitHub
commit 713b6dcdce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,37 +3,48 @@
, aiofiles
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, mock
, pure-python-adb
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "androidtv";
version = "0.0.60";
version = "0.0.63";
format = "setuptools";
disabled = pythonOlder "3.7";
# pypi does not contain tests, using github sources instead
src = fetchFromGitHub {
owner = "JeffLIrion";
repo = "python-androidtv";
rev = "v${version}";
sha256 = "sha256-GWCiRxZ6pHrcVkOKNGxSK8lUD0RohtED8czXIWUoVaM=";
hash = "sha256-Peg/agAb1lUBUBK1OkYVovE4pzM8iaQHVaSk/hr1plw=";
};
propagatedBuildInputs = [ adb-shell pure-python-adb ]
++ lib.optionals (isPy3k) [ aiofiles ];
propagatedBuildInputs = [
adb-shell
aiofiles
pure-python-adb
];
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "androidtv" ];
disabledTests = [
# Requires git but fails anyway
"test_no_underscores"
];
pythonImportsCheck = [
"androidtv"
];
meta = with lib; {
description =
"Communicate with an Android TV or Fire TV device via ADB over a network";
description = "Communicate with an Android TV or Fire TV device via ADB over a network";
homepage = "https://github.com/JeffLIrion/python-androidtv/";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];