2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pyopenssl,
|
|
|
|
pytestCheckHook,
|
2023-03-04 12:14:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ pyopenssl ];
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "aioopenssl" ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "TLS-capable transport using OpenSSL for asyncio";
|
|
|
|
homepage = "https://github.com/horazont/aioopenssl";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|