blob: 9640906d169f587206e3130e55bc8d00fd7259ed (
plain) (
blame)
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
44
45
46
47
48
49
|
{ lib
, aiofiles
, buildPythonPackage
, cryptography
, fetchFromGitHub
, protobuf
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "androidtvremote2";
version = "0.0.13";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tronikos";
repo = "androidtvremote2";
rev = "refs/tags/v${version}";
hash = "sha256-+9VVUIvM//Fxv1a/+PAKWSQE8/TgBZzeTisgMqj6KPU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
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 ];
};
}
|