mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
pythonPackages.ruamel_yaml: enable build for Python2
This commit is contained in:
parent
3eccd0b11d
commit
3c032f0011
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user