pythonPackages.push_receiver: init at 0.1.1

This commit is contained in:
Vincent Haupert 2021-07-13 23:29:51 +02:00
parent af6bbe9aaf
commit 2da9ae847c
No known key found for this signature in database
GPG key ID: A8B605E96F82B4E4
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ buildPythonPackage
, fetchPypi
, lib
, appdirs
, http-ece
, oscrypto
, protobuf
}:
buildPythonPackage rec {
pname = "push-receiver";
version = "0.1.1";
src = fetchPypi {
inherit version;
pname = "push_receiver";
sha256 = "sha256-Tknmra39QfA+OgrRxzKDLbkPucW8zgdHqz5FGQnzYOw=";
};
propagatedBuildInputs = [
appdirs # required for running the bundled example
http-ece # required for listening for new message
oscrypto
protobuf
];
pythonImportsCheck = [ "push_receiver" ];
meta = with lib; {
homepage = "https://github.com/Francesco149/push_receiver";
description = "Subscribe to GCM/FCM and receive notifications";
license = licenses.unlicense;
maintainers = with maintainers; [ veehaitch ];
};
}

View file

@ -5645,6 +5645,8 @@ in {
purl = callPackage ../development/python-modules/purl { };
push-receiver = callPackage ../development/python-modules/push-receiver { };
pushbullet = callPackage ../development/python-modules/pushbullet { };
pushover-complete = callPackage ../development/python-modules/pushover-complete { };