3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #139322 from superherointj/package-pythonPackages.aioapns-2.0.2

python3Packages.aioapns: init 2.0.2
This commit is contained in:
Fabian Affolter 2021-09-24 23:18:11 +02:00 committed by GitHub
commit 617420edc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ buildPythonPackage
, fetchPypi
, h2
, lib
, pyjwt
, pyopenssl
}:
buildPythonPackage rec {
pname = "aioapns";
version = "2.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "ea58ce685aa6d0ffbdc3be4a6999c7268b9c765f806d3e4da7677c098fb72cbc";
};
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;
maintainers = with maintainers; [ superherointj ];
};
}

View file

@ -245,6 +245,8 @@ in {
aioambient = callPackage ../development/python-modules/aioambient { };
aioapns = callPackage ../development/python-modules/aioapns { };
ailment = callPackage ../development/python-modules/ailment { };
aioamqp = callPackage ../development/python-modules/aioamqp { };