python3Packages.mitmproxy-macos: fix download hash (#468492)

This commit is contained in:
Aleksana
2025-12-08 03:39:15 +00:00
committed by GitHub
@@ -10,13 +10,14 @@ buildPythonPackage rec {
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-NArp10yhERk7Hhw5fIU+ekbupyldyzpLQdKgebiUpOM=";
hash = "sha256-baAfEY4hEN3wOEicgE53gY71IX003JYFyyZaNJ7U8UA=";
};
# repo has no python tests
@@ -29,6 +30,6 @@ buildPythonPackage rec {
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 ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
}