Files
nixpkgs/pkgs/development/python-modules/mitmproxy-macos/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
793 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}