mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #322507 from malob/fix-pyreqwest-impersonate-darwin
python311Packages.pyreqwest-impersonate: fix Darwin builds
This commit is contained in:
commit
c7221bae0f
@ -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 = {
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user