19 buildPythonPackage rec {
20 pname = "okonomiyaki";
24 disabled = pythonOlder "3.9";
26 src = fetchFromGitHub {
29 rev = "refs/tags/${version}";
30 hash = "sha256-JQZhw0H4iSdxoyS6ODICJz1vAZsOISQitX7wTgSS1xc=";
35 substituteInPlace setup.cfg \
36 --replace-fail "long_description_content_type = rst" "long_description_content_type = text/x-rst"
39 build-system = [ setuptools ];
41 optional-dependencies = {
65 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
69 substituteInPlace okonomiyaki/runtimes/tests/test_runtime.py \
70 --replace-fail 'runtime_info = PythonRuntime.from_running_python()' 'raise unittest.SkipTest() #'
72 + lib.optionalString stdenv.hostPlatform.isDarwin ''
73 substituteInPlace okonomiyaki/platforms/tests/test_pep425.py \
74 --replace-fail 'self.assertEqual(platform_tag, self.tag.platform)' 'raise unittest.SkipTest()'
77 pythonImportsCheck = [ "okonomiyaki" ];
80 description = "Experimental library aimed at consolidating a lot of low-level code used for Enthought's eggs";
81 homepage = "https://github.com/enthought/okonomiyaki";
82 changelog = "https://github.com/enthought/okonomiyaki/releases/tag/${version}";
83 maintainers = with maintainers; [ genericnerdyusername ];
84 license = licenses.bsd3;