mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-16 01:19:22 +03:00
python311Packages.pyfcm: 1.4.8 -> 2.0.1
This commit is contained in:
parent
6f568c836b
commit
f93341410b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user