python311Packages.aioquic-mitmproxy: init at 0.9.20.3

This commit is contained in:
Fabian Affolter 2023-08-22 20:11:22 +02:00
parent 30358e72db
commit 35d7746db9
2 changed files with 55 additions and 2 deletions

View file

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, certifi
, cryptography
, fetchFromGitHub
, pylsqpack
, pyopenssl
, pytestCheckHook
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "aioquic-mitmproxy";
version = "0.9.20.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "meitinger";
repo = "aioquic_mitmproxy";
rev = "refs/tags/${version}";
hash = "sha256-VcIbtrcA0dBEE52ZD90IbXoh6L3wDUbr2kFJikts6+w=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
certifi
cryptography
pylsqpack
pyopenssl
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aioquic"
];
meta = with lib; {
description = "QUIC and HTTP/3 implementation in Python";
homepage = "https://github.com/meitinger/aioquic_mitmproxy";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -316,6 +316,8 @@ self: super: with self; {
aioquic = callPackage ../development/python-modules/aioquic { };
aioquic-mitmproxy = callPackage ../development/python-modules/aioquic-mitmproxy { };
aiorecollect = callPackage ../development/python-modules/aiorecollect { };
aioredis = callPackage ../development/python-modules/aioredis { };
@ -13312,10 +13314,10 @@ self: super: with self; {
urwidtrees = callPackage ../development/python-modules/urwidtrees { };
urwid-mitmproxy = callPackage ../development/python-modules/urwid-mitmproxy { };
urwid-readline = callPackage ../development/python-modules/urwid-readline { };
urwid-mitmproxy = callPackage ../development/python-modules/urwid-mitmproxy { };
usb-devices = callPackage ../development/python-modules/usb-devices { };
usbrelay-py = callPackage ../os-specific/linux/usbrelay/python.nix { };