blob: fdccc81750b585b2f05cc1188d0c56f49721ea0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
aiofiles,
buildPythonPackage,
cryptography,
fetchFromGitHub,
protobuf,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "androidtvremote2";
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tronikos";
repo = "androidtvremote2";
tag = "v${finalAttrs.version}";
hash = "sha256-zyM9s8gtL0lBGd2hkANZRNsG7BEZv+c7Agexpk80OT0=";
};
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 ];
};
})
|