Skip to content

Commit ce8f2f3

Browse files
committed
python312Packages.rubicon-objc: fix build
1 parent e7ca551 commit ce8f2f3

File tree

1 file changed

+5
-8
lines changed
  • pkgs/development/python-modules/rubicon-objc

1 file changed

+5
-8
lines changed

pkgs/development/python-modules/rubicon-objc/default.nix

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
{
22
lib,
33
buildPythonPackage,
4-
darwin,
54
fetchFromGitHub,
65
pythonOlder,
76
setuptools,
87
setuptools-scm,
9-
unittestCheckHook,
8+
pytestCheckHook,
109
}:
1110

1211
buildPythonPackage rec {
1312
pname = "rubicon-objc";
1413
version = "0.5.0";
1514
pyproject = true;
1615

17-
disabled = pythonOlder "3.8";
16+
disabled = pythonOlder "3.9";
1817

1918
src = fetchFromGitHub {
2019
owner = "beeware";
@@ -25,8 +24,8 @@ buildPythonPackage rec {
2524

2625
postPatch = ''
2726
substituteInPlace pyproject.toml \
28-
--replace-fail "setuptools==69.5.1" "setuptools" \
29-
--replace-fail "setuptools_scm==8.0.4" "setuptools_scm"
27+
--replace-fail "setuptools==75.7.0" "setuptools" \
28+
--replace-fail "setuptools_scm==8.1.0" "setuptools_scm"
3029
'';
3130

3231
build-system = [
@@ -38,9 +37,7 @@ buildPythonPackage rec {
3837
make -C tests/objc
3938
'';
4039

41-
nativeCheckInputs = [ unittestCheckHook ];
42-
43-
checkInputs = [ darwin.apple_sdk.frameworks.Foundation ];
40+
nativeCheckInputs = [ pytestCheckHook ];
4441

4542
pythonImportsCheck = [ "rubicon.objc" ];
4643

0 commit comments

Comments
 (0)