Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
905 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ 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-sNguT3p72v9+FU5XFLYV6p0fO6WvGYerPy68GINwbyA="; };
# repo has no python tests doCheck = false;
pythonImportsCheck = [ "mitmproxy_macos" ];
meta = with lib; { description = "MacOS Rust bits in mitmproxy"; homepage = "https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-macos"; changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ boltzmannrain ]; platforms = platforms.darwin; sourceProvenance = with sourceTypes; [ binaryBytecode ]; };}