python3Packages.okonomiyaki: drop stale substituteInPlace, unbreak darwin

co-authored-by: Devin Singh <drsingh2518@icloud.com>

Changed files
-4
pkgs
development
python-modules
okonomiyaki
-4
pkgs/development/python-modules/okonomiyaki/default.nix
···
--replace-fail 'runtime_info = PythonRuntime.from_running_python()' 'raise unittest.SkipTest() #'
substituteInPlace okonomiyaki/platforms/_platform.py \
--replace-fail 'name.split()[0]' '(name.split() or [""])[0]'
-
''
-
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
-
substituteInPlace okonomiyaki/platforms/tests/test_pep425.py \
-
--replace-fail 'self.assertEqual(platform_tag, self.tag.platform)' 'raise unittest.SkipTest()'
'';
pythonImportsCheck = [ "okonomiyaki" ];