fix remote

This commit is contained in:
arcnmx 2023-05-10 13:05:02 -07:00
parent d41ee51bf9
commit e4fcd7fbff
2 changed files with 41 additions and 0 deletions

40
tewi/androidtvremote2.nix Normal file
View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiofiles
, cryptography
, protobuf
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "androidtvremote2";
version = "0.0.8";
format = "pyproject";
src = fetchFromGitHub {
owner = "tronikos";
repo = pname;
rev = "v${version}";
hash = "sha256-R2KXInaWzaBk0KNDsuCLxI/ZY84viqX+7YJOpLsDirc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiofiles
cryptography
protobuf
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"androidtvremote2"
];
}

View file

@ -203,6 +203,7 @@ in {
python-otbr-api
protobuf3
adb-shell
(callPackage ./androidtvremote2.nix { })
(aiogithubapi.overrideAttrs (_: {doInstallCheck = false;}))
];
extraComponents = [