python311Packages.mitmproxy-macos: 0.4.1 -> 0.5.1

Changelog: https://github.com/mitmproxy/mitmproxy_rs/blob/0.5.1/CHANGELOG.md
This commit is contained in:
Fabian Affolter
2024-01-10 16:10:38 +01:00
parent cf53751a16
commit bdde4d5ee7
@@ -2,30 +2,37 @@
, buildPythonPackage
, fetchFromGitHub
, hatchling
, pythonOlder
}:
buildPythonPackage rec {
pname = "mitmproxy-macos";
version = "0.4.1";
version = "0.5.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "mitmproxy";
repo = "mitmproxy_rs";
rev = version;
hash = "sha256-Vc7ez/W40CefO2ZLAHot14p478pDPtQor865675vCtI=";
rev = "refs/tags/${version}";
hash = "sha256-nrm1T2yaGVmYsubwNJHPnPDC/A/jYiKVzwBKmuc9MD4=";
};
sourceRoot = "${src.name}/mitmproxy-macos";
pythonImportsCheck = [ "mitmproxy_macos" ];
nativeBuildInputs = [
hatchling
];
pythonImportsCheck = [
"mitmproxy_macos"
];
meta = with lib; {
description = "The MacOS Rust bits in mitmproxy";
homepage = "https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-macos";
changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ boltzmannrain ];
platforms = platforms.darwin;