2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyfcm";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "1.4.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "olucurious";
|
|
|
|
repo = "pyfcm";
|
2020-11-03 02:18:15 +00:00
|
|
|
rev = version;
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "15q6p21wsjm75ccmzcsgad1w9fgk6189hbrp7pawpxl7l3qxn2p7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# pyfcm's unit testing suite requires network access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)";
|
|
|
|
homepage = "https://github.com/olucurious/pyfcm";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ldelelis ];
|
|
|
|
};
|
|
|
|
}
|