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