2020-03-03 20:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, callPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "androidtv";
|
2020-04-21 19:35:17 +00:00
|
|
|
version = "0.0.38";
|
2020-03-03 20:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-21 19:35:17 +00:00
|
|
|
sha256 = "0ri1fnc63zashc667w2mlpb0c7ri3x6wnhnf54klb89v73pdnb8k";
|
2020-03-03 20:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
(callPackage ./adbshell.nix {})
|
|
|
|
(callPackage ./purepythonadb.nix {})
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests are not packaged in pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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 = [ maintainers. ];
|
|
|
|
};
|
|
|
|
}
|