mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-08 14:23:40 +00:00
44 lines
950 B
Nix
44 lines
950 B
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
protobuf,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "androidtvremote2";
|
|
version = "0.3.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tronikos";
|
|
repo = "androidtvremote2";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-W+L1yQ7FAoKIlYtlM7gfPv8Tco/9hCDDUQQ16xg+++s=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
cryptography
|
|
protobuf
|
|
];
|
|
|
|
pythonImportsCheck = [ "androidtvremote2" ];
|
|
|
|
# Module only has a dummy test
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
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/${finalAttrs.src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|