about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioopenssl/default.nix
blob: 0ecbbc4e6a533b9339f196577f1f47570ea72633 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ];
  };
}