Files
tioan f5ecff8b94 python3Packages.mitmproxy-macos: fix hash for 0.12.16
Assisted-by: Claude Code (Claude Opus 5.5)
2026-11-21 05:07:19 +01:00

36 lines
893 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mitmproxy-rs,
}:
buildPythonPackage rec {
pname = "mitmproxy-macos";
inherit (mitmproxy-rs) version;
format = "wheel";
# Note: if this isn't downloading, its because mitmproxy-rs updated without also updating this.
src = fetchPypi {
pname = "mitmproxy_macos";
inherit version;
format = "wheel";
dist = "py3";
python = "py3";
hash = "sha256-ruw6Tl0NG8XJiyltwszNaXAxiOWUYlDU9n8eaxSYI+A=";
};
# 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; [ binaryNativeCode ];
};
}