1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "pyfcm";
10 version = "1.4.8";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "olucurious";
15 repo = "pyfcm";
16 rev = version;
17 sha256 = "15q6p21wsjm75ccmzcsgad1w9fgk6189hbrp7pawpxl7l3qxn2p7";
18 };
19
20 propagatedBuildInputs = [ requests ];
21
22 # pyfcm's unit testing suite requires network access
23 doCheck = false;
24
25 meta = with lib; {
26 description = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)";
27 homepage = "https://github.com/olucurious/pyfcm";
28 license = licenses.mit;
29 maintainers = with maintainers; [ ldelelis ];
30 };
31}