pythonPackages.ruamel_yaml: enable build for Python2

This commit is contained in:
makefu 2017-12-12 11:32:17 +01:00
parent 3eccd0b11d
commit 3c032f0011
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -17544,9 +17544,6 @@ in {
name = "ruamel.yaml-${version}";
version = "0.13.7";
# needs ruamel_ordereddict for python2 support
disabled = !isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/r/ruamel.yaml/${name}.tar.gz";
sha256 = "1vca2552k0kmhr9msg1bbfdvp3p9im17x1a6npaw221vlgg15z7h";
@ -17555,7 +17552,8 @@ in {
# Tests cannot load the module to test
doCheck = false;
propagatedBuildInputs = with self; [ ruamel_base typing ];
propagatedBuildInputs = with self; [ ruamel_base typing ] ++
(optional (!isPy3k) self.ruamel_ordereddict);
meta = {
description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order";