2020-03-03 20:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, callPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "androidtv";
|
2020-05-21 08:57:25 +00:00
|
|
|
version = "0.0.39";
|
2020-03-03 20:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-21 08:57:25 +00:00
|
|
|
sha256 = "06lrjj74g2f3pkhsn3c8h13mkykgqqf4g9q6x5yv23z6ghjnk2dz";
|
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. ];
|
|
|
|
};
|
|
|
|
}
|