python310Packages.tokenizers: add Security for darwin

This commit is contained in:
Fabian Affolter 2022-05-25 00:16:29 +02:00
parent b95fefe360
commit 73aa9f07ee
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@
, pythonOlder
, requests
, rustPlatform
, Security
, setuptools-rust
}:
@ -89,6 +90,7 @@ buildPythonPackage rec {
openssl
] ++ lib.optionals stdenv.isDarwin [
libiconv
Security
];
propagatedBuildInputs = [

View File

@ -10358,7 +10358,9 @@ in {
token-bucket = callPackage ../development/python-modules/token-bucket { };
tokenizers = toPythonModule (callPackage ../development/python-modules/tokenizers { });
tokenizers = callPackage ../development/python-modules/tokenizers {
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};
tokenize-rt = toPythonModule (callPackage ../development/python-modules/tokenize-rt { });