python310Packages.aioopenssl: init at 0.6.0

This commit is contained in:
Robert Schütz 2023-02-25 20:27:39 -08:00 committed by Robert Schütz
parent 6d945d2803
commit eafa5eba29
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyopenssl
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aioopenssl";
version = "0.6.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "horazont";
repo = "aioopenssl";
rev = "refs/tags/v${version}";
hash = "sha256-7Q+4/DlP+kUnC3YNk7woJaxLEEiuVmolUOajepM003Q=";
};
propagatedBuildInputs = [
pyopenssl
];
pythonImportsCheck = [ "aioopenssl" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "TLS-capable transport using OpenSSL for asyncio";
homepage = "https://github.com/horazont/aioopenssl";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -278,6 +278,8 @@ self: super: with self; {
aioopenexchangerates = callPackage ../development/python-modules/aioopenexchangerates { };
aioopenssl = callPackage ../development/python-modules/aioopenssl { };
aiopg = callPackage ../development/python-modules/aiopg { };
aioprocessing = callPackage ../development/python-modules/aioprocessing { };