blob: 319c81c13d087f278e5e256a83c9bbf4f62fc85d (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
poetry-core,
pytest-asyncio,
pytest-httpx,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "notifications-android-tv";
version = "1.2.2";
format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "engrbm87";
repo = "notifications_android_tv";
rev = "refs/tags/${version}";
hash = "sha256-JUvxxVCiQtywAWU5AYnPm4SueIWIXkzLxPYveVXpc2E=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ httpx ];
pythonImportsCheck = [ "notifications_android_tv" ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [
pytest-asyncio
pytest-httpx
];
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ dominikh ];
};
}
|