python3Packages.pyobjc-core: 11.0 -> 11.1

toyboot4e b264a6a3 7744c27e

Changed files
+2 -14
pkgs
development
python-modules
pyobjc-core
+2 -14
pkgs/development/python-modules/pyobjc-core/default.nix
···
buildPythonPackage rec {
pname = "pyobjc-core";
-
version = "11.0";
+
version = "11.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ronaldoussoren";
repo = "pyobjc";
tag = "v${version}";
-
hash = "sha256-RhB0Ht6vyDxYwDGS+A9HZL9ySIjWlhdB4S+gHxvQQBg=";
+
hash = "sha256-2qPGJ/1hXf3k8AqVLr02fVIM9ziVG9NMrm3hN1de1Us=";
};
sourceRoot = "${src.name}/pyobjc-core";
···
nativeBuildInputs = [
darwin.DarwinTools # sw_vers
];
-
-
# See https://github.com/ronaldoussoren/pyobjc/pull/641. Unfortunately, we
-
# cannot just pull that diff with fetchpatch due to https://discourse.nixos.org/t/how-to-apply-patches-with-sourceroot/59727.
-
postPatch = ''
-
for file in Modules/objc/test/*.m; do
-
substituteInPlace "$file" --replace "[[clang::suppress]]" ""
-
done
-
-
substituteInPlace setup.py \
-
--replace-fail "-buildversion" "-buildVersion" \
-
--replace-fail "-productversion" "-productVersion"
-
'';
env.NIX_CFLAGS_COMPILE = toString [
"-I${darwin.libffi.dev}/include"