diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-06-26 03:52:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 03:52:26 +0200 |
commit | c7221bae0fbcef01eaa896fe661f0cbf7cf9ce0c (patch) | |
tree | f6f0b8678f6e3106957c769f0c4b443af28f2e03 /pkgs/development | |
parent | be761d36c1e9c3022c9d3550bcc4091504d491a0 (diff) | |
parent | 0775dba689d1457380700e43480a69025d337c63 (diff) |
Merge pull request #322507 from malob/fix-pyreqwest-impersonate-darwin
python311Packages.pyreqwest-impersonate: fix Darwin builds
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/pyreqwest-impersonate/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyreqwest-impersonate/default.nix b/pkgs/development/python-modules/pyreqwest-impersonate/default.nix index 39e57b633170e..bdb4bb06c1678 100644 --- a/pkgs/development/python-modules/pyreqwest-impersonate/default.nix +++ b/pkgs/development/python-modules/pyreqwest-impersonate/default.nix @@ -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 = { |