Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / push-receiver / default.nix
blobc8ab6b64eccf6afb5380324a886af84ec2da9ae6
1 { buildPythonPackage
2 , fetchPypi
3 , lib
4 , appdirs
5 , http-ece
6 , oscrypto
7 , protobuf
8 }:
10 buildPythonPackage rec {
11   pname = "push-receiver";
12   version = "0.1.1";
14   src = fetchPypi {
15     inherit version;
16     pname = "push_receiver";
17     hash = "sha256-Tknmra39QfA+OgrRxzKDLbkPucW8zgdHqz5FGQnzYOw=";
18   };
20   propagatedBuildInputs = [
21     appdirs # required for running the bundled example
22     http-ece # required for listening for new message
23     oscrypto
24     protobuf
25   ];
27   pythonImportsCheck = [ "push_receiver" ];
29   meta = with lib; {
30     homepage = "https://github.com/Francesco149/push_receiver";
31     description = "Subscribe to GCM/FCM and receive notifications";
32     license = licenses.unlicense;
33     maintainers = with maintainers; [ veehaitch ];
34   };