1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pyopenssl,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "aioopenssl";
11 version = "0.6.0";
12
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "horazont";
17 repo = "aioopenssl";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-7Q+4/DlP+kUnC3YNk7woJaxLEEiuVmolUOajepM003Q=";
20 };
21
22 propagatedBuildInputs = [ pyopenssl ];
23
24 pythonImportsCheck = [ "aioopenssl" ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 meta = {
29 description = "TLS-capable transport using OpenSSL for asyncio";
30 homepage = "https://github.com/horazont/aioopenssl";
31 license = lib.licenses.asl20;
32 maintainers = with lib.maintainers; [ dotlambda ];
33 };
34}