pythonPackages.pyfcm: init at 1.4.7 (#67321)
* pythonPackages.pyfcm: init at 1.4.7 * pythonPackages.pyfcm: build from github, rather than Pypi * pythonPackages.pyfcm: adds ldelelis as package maintainer
This commit is contained in:
29
pkgs/development/python-modules/pyfcm/default.nix
Normal file
29
pkgs/development/python-modules/pyfcm/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyfcm";
|
||||
version = "1.4.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "olucurious";
|
||||
repo = "pyfcm";
|
||||
rev = "${version}";
|
||||
sha256 = "0aj10yvjsc04j15zbn403i83j7ra5yg35pi3ywkyakk8n1s0s3qg";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user