From 7903bc9ffab486acc42b4a2114bae9b82242c8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:17:06 -0700 Subject: [PATCH] python312Packages.firebase-messaging: 0.3.0 -> 0.4.4 Diff: https://github.com/sdb9696/firebase-messaging/compare/refs/tags/0.3.0...0.4.4 Changelog: https://github.com/sdb9696/firebase-messaging/releases/tag/0.4.4 --- .../firebase-messaging/default.nix | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/firebase-messaging/default.nix b/pkgs/development/python-modules/firebase-messaging/default.nix index 15c39a634980..a64bc19ea2e6 100644 --- a/pkgs/development/python-modules/firebase-messaging/default.nix +++ b/pkgs/development/python-modules/firebase-messaging/default.nix @@ -6,8 +6,9 @@ buildPythonPackage, cryptography, fetchFromGitHub, + hatchling, http-ece, - poetry-core, + myst-parser, protobuf, pytest-asyncio, pytest-mock, @@ -23,16 +24,16 @@ buildPythonPackage rec { pname = "firebase-messaging"; - version = "0.3.0"; + version = "0.4.4"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "sdb9696"; repo = "firebase-messaging"; rev = "refs/tags/${version}"; - hash = "sha256-pZpnekJ11yx3L8l56vZOa4uS+jJMxUkYODgNAqysVeY="; + hash = "sha256-duUqDioIBo2QQP/4VGGwklDt4F8pDm/sHrvOx4wcTWQ="; }; outputs = [ @@ -40,12 +41,19 @@ buildPythonPackage rec { "doc" ]; + build-system = [ + hatchling + ]; + nativeBuildInputs = [ - poetry-core sphinxHook ] ++ optional-dependencies.docs; - propagatedBuildInputs = [ + pythonRelaxDeps = [ + "http-ece" + ]; + + dependencies = [ aiohttp cryptography http-ece @@ -54,6 +62,7 @@ buildPythonPackage rec { optional-dependencies = { docs = [ + myst-parser sphinx sphinx-autodoc-typehints sphinx-rtd-theme