Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
970 B
Nix
47 lines
970 B
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
protobuf,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "androidtvremote2";
|
|
version = "0.2.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tronikos";
|
|
repo = "androidtvremote2";
|
|
tag = "v${version}";
|
|
hash = "sha256-oNZE7Fo60u6c3Gmk4Gi1Ni3HGPDMx7Uh+uerZmxiMCM=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
cryptography
|
|
protobuf
|
|
];
|
|
|
|
pythonImportsCheck = [ "androidtvremote2" ];
|
|
|
|
# Module only has a dummy test
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Library to interact with the Android TV Remote protocol v2";
|
|
homepage = "https://github.com/tronikos/androidtvremote2";
|
|
changelog = "https://github.com/tronikos/androidtvremote2/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|