Files
nixpkgs/pkgs/development/python-modules/notifications-android-tv/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

47 lines
1.0 KiB
Nix

{
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 ];
};
}