depot/third_party/nixpkgs/pkgs/development/python-modules/pyfcm/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

29 lines
661 B
Nix

{ lib
, fetchFromGitHub
, buildPythonPackage
, requests
}:
buildPythonPackage rec {
pname = "pyfcm";
version = "1.4.8";
src = fetchFromGitHub {
owner = "olucurious";
repo = "pyfcm";
rev = version;
sha256 = "15q6p21wsjm75ccmzcsgad1w9fgk6189hbrp7pawpxl7l3qxn2p7";
};
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 ];
};
}