python3Packages.androidtv: 0.0.60 -> 0.0.63

main
Fabian Affolter 2 years ago
parent 598c791f2c
commit 3304fc1bf2
  1. 29
      pkgs/development/python-modules/androidtv/default.nix

@ -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…
Cancel
Save