depot/third_party/nixpkgs/pkgs/development/python-modules/aioquic/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

38 lines
686 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, openssl
, pylsqpack
, certifi
, pytestCheckHook
, pyopenssl
}:
buildPythonPackage rec {
pname = "aioquic";
version = "0.9.20";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7ENqqs6Ze4RrAeUgDtv34+VrkYJqFE77l0j9jd0zK74=";
};
propagatedBuildInputs = [
certifi
pylsqpack
pyopenssl
];
buildInputs = [ openssl ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aioquic" ];
meta = with lib; {
description = "Implementation of QUIC and HTTP/3";
homepage = "https://github.com/aiortc/aioquic";
license = licenses.bsd3;
maintainers = with maintainers; [ onny ];
};
}