3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aioapns/default.nix
2022-01-23 04:20:24 +00:00

36 lines
643 B
Nix

{ buildPythonPackage
, fetchPypi
, h2
, lib
, pyjwt
, pyopenssl
}:
buildPythonPackage rec {
pname = "aioapns";
version = "2.1";
src = fetchPypi {
inherit pname version;
sha256 = "2ce526910bc2514a84b8105abe80508526ceafc0097c89f86bbbc501f8666c99";
};
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; [ ];
};
}