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