nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildPythonPackage
2, fetchPypi
3, h2
4, lib
5, pyjwt
6, pyopenssl
7}:
8
9buildPythonPackage rec {
10 pname = "aioapns";
11 version = "2.1";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "2ce526910bc2514a84b8105abe80508526ceafc0097c89f86bbbc501f8666c99";
16 };
17
18 propagatedBuildInputs = [
19 h2
20 pyopenssl
21 pyjwt
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "aioapns" ];
28
29 meta = with lib; {
30 description = "An efficient APNs Client Library for Python/asyncio";
31 homepage = "https://github.com/Fatal1ty/aioapns";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ ];
34 };
35}