Skip to content

Commit

Permalink
Merge pull request #139322 from superherointj/package-pythonPackages.…
Browse files Browse the repository at this point in the history
…aioapns-2.0.2

python3Packages.aioapns: init 2.0.2
  • Loading branch information
fabaff authored Sep 24, 2021
2 parents ad6254f + 868a8a5 commit 617420e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/aioapns/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 617420e

Please sign in to comment.