diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/mitmproxy-wireguard/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/mitmproxy-wireguard/default.nix | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/mitmproxy-wireguard/default.nix b/nixpkgs/pkgs/development/python-modules/mitmproxy-wireguard/default.nix deleted file mode 100644 index b67459a5de02..000000000000 --- a/nixpkgs/pkgs/development/python-modules/mitmproxy-wireguard/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, stdenv -, darwin -, pytestCheckHook -, pythonOlder -, rustPlatform -, setuptools-rust -}: - -buildPythonPackage rec { - pname = "mitmproxy-wireguard"; - version = "0.1.23"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; - - src = fetchFromGitHub { - owner = "decathorpe"; - repo = "mitmproxy_wireguard"; - rev = "refs/tags/${version}"; - hash = "sha256-z9ucTBLLRXc1lcHA0r1wUleoP8X7yIlHrtdZdLD9qJk="; - }; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.libiconv - darwin.apple_sdk.frameworks.Security - ]; - - nativeBuildInputs = [ - setuptools-rust - ] ++ (with rustPlatform; [ - cargoSetupHook - maturinBuildHook - ]); - - cargoDeps = rustPlatform.fetchCargoTarball { - inherit src; - name = "${pname}-${version}"; - hash = "sha256-qgyAaUpyuWVYMxUA4Gg8inlUMlSLo++16+nVvmDMhTQ="; - }; - - # Module has no tests, only a test client - doCheck = false; - - pythonImportsCheck = [ - "mitmproxy_wireguard" - ]; - - meta = with lib; { - description = "WireGuard frontend for mitmproxy"; - homepage = "https://github.com/decathorpe/mitmproxy_wireguard"; - changelog = "https://github.com/decathorpe/mitmproxy_wireguard/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; - }; -} |