2021-09-26 12:46:18 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, h2
|
|
|
|
, lib
|
|
|
|
, pyjwt
|
|
|
|
, pyopenssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioapns";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "2.1";
|
2021-09-26 12:46:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "2ce526910bc2514a84b8105abe80508526ceafc0097c89f86bbbc501f8666c99";
|
2021-09-26 12:46:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
h2
|
|
|
|
pyopenssl
|
|
|
|
pyjwt
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "aioapns" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An efficient APNs Client Library for Python/asyncio";
|
|
|
|
homepage = "https://github.com/Fatal1ty/aioapns";
|
|
|
|
license = licenses.asl20;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-09-26 12:46:18 +00:00
|
|
|
};
|
|
|
|
}
|