From c5bd05312e36b28a0e0e33c696bcde55c8217630 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 2 May 2024 22:44:11 +0300 Subject: [PATCH] python312Packages.xcffib: Fix darwin build Set platforms https://github.com/tych0/xcffib/blob/a60303b80e3d3fa2e1f3521545307f565513ca35/module/__init__.py#L27 mentions darwin and windows --- pkgs/development/python-modules/xcffib/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/xcffib/default.nix b/pkgs/development/python-modules/xcffib/default.nix index b0b00da0dc32..ff5215ccb4cc 100644 --- a/pkgs/development/python-modules/xcffib/default.nix +++ b/pkgs/development/python-modules/xcffib/default.nix @@ -47,11 +47,15 @@ buildPythonPackage rec { "xcffib" ]; + # Tests use xvfb + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "A drop in replacement for xpyb, an XCB python binding"; homepage = "https://github.com/tych0/xcffib"; changelog = "https://github.com/tych0/xcffib/releases/tag/v${version}"; license = licenses.asl20; + platforms = platforms.linux ++ platforms.darwin ++ platforms.windows; maintainers = with maintainers; [ kamilchm ]; }; }