My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/push-receiver/default.nix

35 lines
763 B

{ 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 ];
};
}