lol

Merge pull request #198625 from fabaff/mitmproxy_wireguard

python310Packages.mitmproxy-wireguard: init at 0.1.15

authored by

Fabian Affolter and committed by
GitHub
28bb9165 5c4ca40f

+53
+51
pkgs/development/python-modules/mitmproxy-wireguard/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + , rustPlatform 7 + , setuptools-rust 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "mitmproxy-wireguard"; 12 + version = "0.1.15"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "decathorpe"; 19 + repo = "mitmproxy_wireguard"; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-31S955juthagoFsthVTf3Vjx2YCKn43HKJ6mjrA8lfw="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + setuptools-rust 26 + ] ++ (with rustPlatform; [ 27 + cargoSetupHook 28 + maturinBuildHook 29 + ]); 30 + 31 + cargoDeps = rustPlatform.fetchCargoTarball { 32 + inherit src; 33 + name = "${pname}-${version}"; 34 + hash = "sha256-e2P3vfiaTOUf28Lexv2SDFaiGE55G8EkDKSYb8b7vLM="; 35 + }; 36 + 37 + # Module has no tests, only a test client 38 + doCheck = false; 39 + 40 + pythonImportsCheck = [ 41 + "mitmproxy_wireguard" 42 + ]; 43 + 44 + meta = with lib; { 45 + description = "WireGuard frontend for mitmproxy"; 46 + homepage = "https://github.com/decathorpe/mitmproxy_wireguard"; 47 + changelog = "https://github.com/decathorpe/mitmproxy_wireguard/releases/tag/${version}"; 48 + license = licenses.mit; 49 + maintainers = with maintainers; [ fab ]; 50 + }; 51 + }
+2
pkgs/top-level/python-packages.nix
··· 5706 5706 5707 5707 mitmproxy = callPackage ../development/python-modules/mitmproxy { }; 5708 5708 5709 + mitmproxy-wireguard = callPackage ../development/python-modules/mitmproxy-wireguard { }; 5710 + 5709 5711 mitogen = callPackage ../development/python-modules/mitogen { }; 5710 5712 5711 5713 mixpanel = callPackage ../development/python-modules/mixpanel { };