Files
Dmitry Ivankov 915ca47f28 python3Packages.mitmproxy-macos: reuse meta attribute from mitmproxy-rs
Similar to mitmproxy-linux subpackage let's reuse changelog,license,maintainers.

Effective change is removing myself from mitmproxy-macos maintainers,
I haven't been involved or contributing a lot since a while ago.
At the same time there is activity supported by current mitmproxy-rs
maintainers and just documenting it sounds fair.
2025-09-12 19:54:54 +02:00

35 lines
793 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mitmproxy-rs,
}:
buildPythonPackage rec {
pname = "mitmproxy-macos";
inherit (mitmproxy-rs) version;
format = "wheel";
src = fetchPypi {
pname = "mitmproxy_macos";
inherit version;
format = "wheel";
dist = "py3";
python = "py3";
hash = "sha256-NArp10yhERk7Hhw5fIU+ekbupyldyzpLQdKgebiUpOM=";
};
# repo has no python tests
doCheck = false;
pythonImportsCheck = [ "mitmproxy_macos" ];
meta = {
inherit (mitmproxy-rs.meta) changelog license maintainers;
description = "MacOS Rust bits in mitmproxy";
homepage = "https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-macos";
platforms = lib.platforms.darwin;
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
};
}