python311Packages.css-inline: fix darwin build
This commit is contained in:
parent
11e7015ec7
commit
5e97947218
2 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
# native darwin dependencies
|
||||
, libiconv
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
|
@ -52,6 +53,7 @@ buildPythonPackage rec {
|
|||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
Security
|
||||
SystemConfiguration
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
@ -66,6 +68,9 @@ buildPythonPackage rec {
|
|||
disabledTests = [
|
||||
# fails to connect to local server
|
||||
"test_remote_stylesheet"
|
||||
] ++ lib.optionals (stdenv.isDarwin) [
|
||||
# pyo3_runtime.PanicException: event loop thread panicked
|
||||
"test_invalid_href"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -2527,7 +2527,7 @@ self: super: with self; {
|
|||
|
||||
css-inline = callPackage ../development/python-modules/css-inline {
|
||||
inherit (pkgs.darwin) libiconv;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
css-parser = callPackage ../development/python-modules/css-parser { };
|
||||
|
|
Loading…
Reference in a new issue