mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix remote
This commit is contained in:
parent
d41ee51bf9
commit
e4fcd7fbff
2 changed files with 41 additions and 0 deletions
40
tewi/androidtvremote2.nix
Normal file
40
tewi/androidtvremote2.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
|
|
@ -203,6 +203,7 @@ in {
|
|||
python-otbr-api
|
||||
protobuf3
|
||||
adb-shell
|
||||
(callPackage ./androidtvremote2.nix { })
|
||||
(aiogithubapi.overrideAttrs (_: {doInstallCheck = false;}))
|
||||
];
|
||||
extraComponents = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue