Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aioquic-mitmproxy / default.nix
blob75ccd60727416c810771ca88447bec2b25971916
1 { lib
2 , buildPythonPackage
3 , certifi
4 , cryptography
5 , fetchFromGitHub
6 , pylsqpack
7 , pyopenssl
8 , pytestCheckHook
9 , pythonOlder
10 , service-identity
11 , setuptools
12 , wheel
15 buildPythonPackage rec {
16   pname = "aioquic-mitmproxy";
17   version = "0.9.21.1";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "meitinger";
24     repo = "aioquic_mitmproxy";
25     rev = "refs/tags/${version}";
26     hash = "sha256-eD3eICE9jS1jyqMgWwcv6w3gkR0EyGcKwgSXhasXNeA=";
27   };
29   nativeBuildInputs = [
30     setuptools
31     wheel
32   ];
34   propagatedBuildInputs = [
35     certifi
36     cryptography
37     pylsqpack
38     pyopenssl
39     service-identity
40   ];
42   nativeCheckInputs = [
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [
47     "aioquic"
48   ];
50   meta = with lib; {
51     description = "QUIC and HTTP/3 implementation in Python";
52     homepage = "https://github.com/meitinger/aioquic_mitmproxy";
53     license = licenses.bsd3;
54     maintainers = with maintainers; [ fab ];
55   };