mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
37 lines
786 B
Nix
37 lines
786 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, appdirs
|
|
, http-ece
|
|
, oscrypto
|
|
, protobuf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "push-receiver";
|
|
version = "0.1.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "push_receiver";
|
|
hash = "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 ];
|
|
};
|
|
}
|