8 buildPythonPackage rec {
9 pname = "ruamel-yaml-clib";
11 format = "setuptools";
14 url = "http://hg.code.sf.net/p/ruamel-yaml-clib/code";
16 sha256 = "sha256-QNJyJWfCT8zEvrqI65zPlWIMSRZSoDwIAbFU48TfO4U=";
22 # circular dependency with ruamel-yaml
23 # pythonImportsCheck = [ "_ruamel_yaml" ];
24 nativeBuildInputs = [ cython ];
26 # Fix incompatible function pointer conversion errors with clang 16.
27 patches = [ ./fix-incompatible-function-pointers.patch ];
28 preBuild = "cython _ruamel_yaml.pyx -3 --module-name _ruamel_yaml -I.";
31 description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order";
32 homepage = "https://sourceforge.net/projects/ruamel-yaml-clib/";
33 license = licenses.mit;