saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / notifications-android-tv / default.nix
blobae5e5417d76c14512a8699b31f8e618940baa67d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   httpx,
6   poetry-core,
7   pytest-asyncio,
8   pytest-httpx,
9   pytestCheckHook,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "notifications-android-tv";
15   version = "1.2.2";
16   format = "pyproject";
17   disabled = pythonOlder "3.10";
19   src = fetchFromGitHub {
20     owner = "engrbm87";
21     repo = "notifications_android_tv";
22     tag = version;
23     hash = "sha256-JUvxxVCiQtywAWU5AYnPm4SueIWIXkzLxPYveVXpc2E=";
24   };
26   nativeBuildInputs = [ poetry-core ];
28   propagatedBuildInputs = [ httpx ];
30   pythonImportsCheck = [ "notifications_android_tv" ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   checkInputs = [
35     pytest-asyncio
36     pytest-httpx
37   ];
39   meta = with lib; {
40     description = "Python API for sending notifications to Android/Fire TVs";
41     homepage = "https://github.com/engrbm87/notifications_android_tv";
42     changelog = "https://github.com/engrbm87/notifications_android_tv/blob/${version}/CHANGES.rst";
43     license = licenses.mit;
44     maintainers = with maintainers; [ dominikh ];
45   };