python3Packages.pywinbox: unbreak on darwin
This commit is contained in:
@@ -36,6 +36,12 @@ buildPythonPackage (finalAttrs: {
|
||||
pyobjc-framework-Cocoa
|
||||
];
|
||||
|
||||
# It's called pyobjc-core instead of pyobjc in nixpkgs.
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail 'pyobjc' 'pyobjc-core'
|
||||
'';
|
||||
|
||||
# requires x session (use ewmhlib)
|
||||
pythonImportsCheck = [ ];
|
||||
doCheck = false;
|
||||
|
||||
Reference in New Issue
Block a user