11 buildPythonPackage rec {
12 pname = "ruamel.yaml";
16 inherit pname version;
17 sha256 = "076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e";
20 # Tests use relative paths
23 propagatedBuildInputs = [ ruamel_base ]
24 ++ lib.optional (!isPy3k) ruamel_ordereddict
25 ++ lib.optional (!isPyPy) ruamel_yaml_clib;
27 # causes namespace clash on py27
28 dontUsePythonImportsCheck = !isPy3k;
29 pythonImportsCheck = [
35 description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order";
36 homepage = "https://sourceforge.net/projects/ruamel-yaml/";
37 license = licenses.mit;