Merge pull request #265841 from SuperSandro2000/mitmproxy-2
python310Packages.mitmproxy-rs: fix platforms; python3Packages.mitmproxy-wireguard: drop
This commit is contained in:
commit
4b1aab2219
4 changed files with 1 additions and 61 deletions
|
@ -45,6 +45,5 @@ buildPythonPackage rec {
|
||||||
changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${src.rev}/CHANGELOG.md";
|
changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${src.rev}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,58 +0,0 @@
|
||||||
{ lib
|
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, stdenv
|
|
||||||
, darwin
|
|
||||||
, pytestCheckHook
|
|
||||||
, pythonOlder
|
|
||||||
, rustPlatform
|
|
||||||
, setuptools-rust
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "mitmproxy-wireguard";
|
|
||||||
version = "0.1.23";
|
|
||||||
format = "pyproject";
|
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "decathorpe";
|
|
||||||
repo = "mitmproxy_wireguard";
|
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
hash = "sha256-z9ucTBLLRXc1lcHA0r1wUleoP8X7yIlHrtdZdLD9qJk=";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
|
||||||
darwin.libiconv
|
|
||||||
darwin.apple_sdk.frameworks.Security
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
setuptools-rust
|
|
||||||
] ++ (with rustPlatform; [
|
|
||||||
cargoSetupHook
|
|
||||||
maturinBuildHook
|
|
||||||
]);
|
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
||||||
inherit src;
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
hash = "sha256-qgyAaUpyuWVYMxUA4Gg8inlUMlSLo++16+nVvmDMhTQ=";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Module has no tests, only a test client
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
|
||||||
"mitmproxy_wireguard"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "WireGuard frontend for mitmproxy";
|
|
||||||
homepage = "https://github.com/decathorpe/mitmproxy_wireguard";
|
|
||||||
changelog = "https://github.com/decathorpe/mitmproxy_wireguard/releases/tag/${version}";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ fab ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -272,6 +272,7 @@ mapAliases ({
|
||||||
mir_eval = mir-eval; # added 2024-01-07
|
mir_eval = mir-eval; # added 2024-01-07
|
||||||
mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12
|
mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12
|
||||||
mistune_2_0 = mistune; # added 2022-08-12
|
mistune_2_0 = mistune; # added 2022-08-12
|
||||||
|
mitmproxy-wireguard = throw "mitmproxy-wireguard has been removed because it was replaced by upstream with mitmproxy-rs"; # added 2023-11-06
|
||||||
mkdocs-minify = mkdocs-minify-plugin; # added 2023-11-28
|
mkdocs-minify = mkdocs-minify-plugin; # added 2023-11-28
|
||||||
mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21
|
mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21
|
||||||
mrkd = throw "mrkd has been promoted to a top-level attribute"; # added 2023-08-01
|
mrkd = throw "mrkd has been promoted to a top-level attribute"; # added 2023-08-01
|
||||||
|
|
|
@ -7127,8 +7127,6 @@ self: super: with self; {
|
||||||
|
|
||||||
mitmproxy-rs = callPackage ../development/python-modules/mitmproxy-rs { };
|
mitmproxy-rs = callPackage ../development/python-modules/mitmproxy-rs { };
|
||||||
|
|
||||||
mitmproxy-wireguard = callPackage ../development/python-modules/mitmproxy-wireguard { };
|
|
||||||
|
|
||||||
mitogen = callPackage ../development/python-modules/mitogen { };
|
mitogen = callPackage ../development/python-modules/mitogen { };
|
||||||
|
|
||||||
mixins = callPackage ../development/python-modules/mixins { };
|
mixins = callPackage ../development/python-modules/mixins { };
|
||||||
|
|
Loading…
Reference in a new issue