blob: 700dc4e722d86c3d8d70441845c8475932ca5958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
requests,
urllib3,
google-auth,
}:
buildPythonPackage rec {
pname = "pyfcm";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "olucurious";
repo = "pyfcm";
tag = version;
hash = "sha256-lpSbb0DDXLHne062s7g27zRpvTuOHiqQkqGOtWvuWdI=";
};
build-system = [ setuptools ];
dependencies = [
requests
urllib3
google-auth
];
# pyfcm's unit testing suite requires network access
doCheck = false;
pythonImportsCheck = [ "pyfcm" ];
meta = {
description = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)";
homepage = "https://github.com/olucurious/pyfcm";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ldelelis ];
};
}
|