New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wip] Add pyobjc to nixpkgs #21829
[wip] Add pyobjc to nixpkgs #21829
Conversation
@matthewbauer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pikajude, @copumpkin, @acowley and @FRidh to be potential reviewers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you put the new Python packages as <name>/default.nix
in python-modules
.
}; | ||
|
||
frameworks = rec { # 3.1.1 corresponds to SDK 10.9 because we only have CF 10.9 | ||
Accounts = buildPyObjcFramework "Accounts" "3.1.1" "1jgasyz88mhl58ks1k06qqxd6ifzbkcjkir6ny0hjr6vc07lk99h" [ Cocoa ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you deal with updates of these packages? Do you edit these hashes manually or automatically?
sha256 = "1fp58318n7rabxakis5cw4z2lcyimsp167hlfl6y0mvf7zx8dxai"; | ||
}; | ||
|
||
doCheck = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a reason why you disable tests
sha256 = "0pmaxrvx2vnlgsdlbzqr32v2j0n81n07x4xrc2nigfdnrxsxvcc2"; | ||
}; | ||
|
||
doCheck = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here as well
status update? |
I've gotten stuck on it and the reason I needed pyobjc (for Transmission) is not really necessary now that we have the GTK backend working on macOS. It was never working correctly anyway. Anybody can work off of this if they will need it. |
Motivation for this change
This adds the "pyobjc" python module to nixpkgs. It is only available for OS X, however. Some of the frameworks failed with 10.9 SDK, so they have been disabled.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)