pythonPackages.pyyaml_3: init , instead of multiple pyyaml overrides

Temporary attribute until we can get rid of it everywhere.

This was triggered due to the libyaml 0.2.2 incompatibilty requiring
patches and still not building.
This commit is contained in:
Frederik Rietdijk
2019-07-25 11:51:55 +02:00
parent da6101d141
commit 3d00d8e4ee
6 changed files with 22 additions and 38 deletions

View File

@@ -22,18 +22,7 @@ let
sha256 = "48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1";
};
});
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
version = "3.13";
src = oldAttrs.src.override {
inherit version;
sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf";
};
# https://github.com/yaml/pyyaml/issues/298#issuecomment-511990948
patches = lib.singleton (fetchpatch {
url = "https://github.com/yaml/pyyaml/commit/c5b135fe39d41cffbdc006f28ccb2032df6005e0.patch";
sha256 = "0x1v45rkmj194c41d1nqi3ihj9z4rsy8zvpfcd8p960g1fia7fhn";
});
});
pyyaml = super.pyyaml_3;
};
};