Merge pull request #214835 from viraptor/mitmproxy-darwin
python310Packages.mitmproxy-wireguard: fix darwin build
This commit is contained in:
commit
631771397d
|
@ -1,6 +1,8 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, rustPlatform
|
||||
|
@ -21,6 +23,11 @@ buildPythonPackage rec {
|
|||
hash = "sha256-Oq3jF4XeT58rad0MWmqucZZHVAshhA8PViQ+2Q9Shgc=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.libiconv
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-rust
|
||||
] ++ (with rustPlatform; [
|
||||
|
|
Loading…
Reference in a new issue