mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
36 lines
643 B
Nix
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; [ ];
|
|
};
|
|
}
|