python311Packages.pyfcm: 1.4.8 -> 2.0.1

This commit is contained in:
R. Ryantm 2024-06-22 23:57:54 +00:00 committed by Weijia Wang
parent 6f568c836b
commit f93341410b

View File

@ -2,26 +2,37 @@
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
requests,
urllib3,
google-auth,
}:
buildPythonPackage rec {
pname = "pyfcm";
version = "1.4.8";
format = "setuptools";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "olucurious";
repo = "pyfcm";
rev = version;
sha256 = "15q6p21wsjm75ccmzcsgad1w9fgk6189hbrp7pawpxl7l3qxn2p7";
rev = "refs/tags/${version}";
hash = "sha256-lpSbb0DDXLHne062s7g27zRpvTuOHiqQkqGOtWvuWdI=";
};
propagatedBuildInputs = [ requests ];
build-system = [ setuptools ];
dependencies = [
requests
urllib3
google-auth
];
# pyfcm's unit testing suite requires network access
doCheck = false;
pythonImportsCheck = [ "pyfcm" ];
meta = with lib; {
description = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)";
homepage = "https://github.com/olucurious/pyfcm";