about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioapns/default.nix
blob: 0a9b8fffae74ada3550c1c266d4563e77d565dcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ 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; [ ];
  };
}