Merge pull request #158336 from fabaff/bump-androidtv
python3Packages.androidtv: 0.0.60 -> 0.0.63
This commit is contained in:
commit
713b6dcdce
1 changed files with 20 additions and 9 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue