about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pybluez/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pybluez/default.nix')
-rw-r--r--pkgs/development/python-modules/pybluez/default.nix24
1 files changed, 10 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/pybluez/default.nix b/pkgs/development/python-modules/pybluez/default.nix
index 55262a07a4ca..ca745113c592 100644
--- a/pkgs/development/python-modules/pybluez/default.nix
+++ b/pkgs/development/python-modules/pybluez/default.nix
@@ -1,9 +1,10 @@
-{ lib
-, stdenv
-, buildPythonPackage
-, fetchFromGitHub
-, bluez
-, gattlib
+{
+  lib,
+  stdenv,
+  buildPythonPackage,
+  fetchFromGitHub,
+  bluez,
+  gattlib,
 }:
 
 buildPythonPackage rec {
@@ -18,13 +19,9 @@ buildPythonPackage rec {
     hash = "sha256-GA58DfCFaVzZQA1HYpGQ68bznrt4SX1ojyOVn8hyCGo=";
   };
 
-  buildInputs = [
-    bluez
-  ];
+  buildInputs = [ bluez ];
 
-  propagatedBuildInputs = [
-    gattlib
-  ];
+  propagatedBuildInputs = [ gattlib ];
 
   # there are no tests
   doCheck = false;
@@ -39,7 +36,6 @@ buildPythonPackage rec {
     homepage = "https://github.com/pybluez/pybluez";
     license = licenses.gpl2;
     maintainers = with maintainers; [ leenaars ];
-    broken = stdenv.isDarwin; # requires pyobjc-core, pyobjc-framework-Cocoa
+    broken = stdenv.hostPlatform.isDarwin; # requires pyobjc-core, pyobjc-framework-Cocoa
   };
-
 }