blob: 1d0fa948d574cdd56410a3e18c9907a0b9a71853 (
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
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
poetry-core,
pytest-asyncio,
pytest-httpx,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "notifications-android-tv";
version = "1.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "engrbm87";
repo = "notifications_android_tv";
tag = version;
hash = "sha256-JUvxxVCiQtywAWU5AYnPm4SueIWIXkzLxPYveVXpc2E=";
};
pythonRelaxDeps = [ "httpx" ];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ httpx ];
pythonImportsCheck = [ "notifications_android_tv" ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [
pytest-asyncio
pytest-httpx
];
meta = {
description = "Python API for sending notifications to Android/Fire TVs";
homepage = "https://github.com/engrbm87/notifications_android_tv";
changelog = "https://github.com/engrbm87/notifications_android_tv/blob/${version}/CHANGES.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dominikh ];
};
}
|