12 buildPythonPackage rec {
13 pname = "rubicon-objc";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
21 repo = "rubicon-objc";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-jQ/q2yIXJp+X4ajcbEqxXuYtYeyZJ1xTBjSlzqLuRpg=";
27 substituteInPlace pyproject.toml \
28 --replace-fail "setuptools==69.5.1" "setuptools" \
29 --replace-fail "setuptools_scm==8.0.4" "setuptools_scm"
41 nativeCheckInputs = [ unittestCheckHook ];
43 checkInputs = [ darwin.apple_sdk.frameworks.Foundation ];
45 pythonImportsCheck = [ "rubicon.objc" ];
47 __darwinAllowLocalNetworking = true;
50 description = "Bridge interface between Python and Objective-C";
51 homepage = "https://github.com/beeware/rubicon-objc/";
52 changelog = "https://github.com/beeware/rubicon-objc/releases/tag/v${version}";
53 license = lib.licenses.bsd3;
54 maintainers = with lib.maintainers; [ natsukium ];
55 platforms = lib.platforms.darwin;