Merge pull request #322507 from malob/fix-pyreqwest-impersonate-darwin

python311Packages.pyreqwest-impersonate: fix Darwin builds
This commit is contained in:
Pol Dellaiera
2024-06-26 03:52:26 +02:00
committed by GitHub
2 changed files with 11 additions and 1 deletions
@@ -1,11 +1,14 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
rustPlatform,
pytest,
runCommand,
boringssl,
libiconv,
SystemConfiguration,
}:
let
@@ -41,6 +44,11 @@ buildPythonPackage rec {
rustPlatform.maturinBuildHook
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
SystemConfiguration
];
env.BORING_BSSL_PATH = boringssl-wrapper;
optional-dependencies = {
+3 -1
View File
@@ -10142,7 +10142,9 @@ self: super: with self; {
pyrender = callPackage ../development/python-modules/pyrender { };
pyreqwest-impersonate = callPackage ../development/python-modules/pyreqwest-impersonate { };
pyreqwest-impersonate = callPackage ../development/python-modules/pyreqwest-impersonate {
inherit (pkgs.darwin.apple_sdk.frameworks) SystemConfiguration;
};
pyrevolve = callPackage ../development/python-modules/pyrevolve { };