enchant: 1.6.1 -> 2.2.3

Moves default enchant to 2.2.3. Release url:

https://github.com/AbiWord/enchant/releases/tag/v2.0.0

Mostly need to verify no breakage occurs for packages using enchant.
This commit is contained in:
Matthew Bauer
2019-04-27 19:36:52 -04:00
parent be705d8249
commit 3e96aebf4e
4 changed files with 6 additions and 5 deletions

View File

@@ -13,10 +13,10 @@ buildPythonPackage rec {
sha256 = "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0";
};
propagatedBuildInputs = [ pkgs.enchant ];
propagatedBuildInputs = [ pkgs.enchant1 ];
patchPhase = let
path_hack_script = "s|LoadLibrary(e_path)|LoadLibrary('${pkgs.enchant}/lib/' + e_path)|";
path_hack_script = "s|LoadLibrary(e_path)|LoadLibrary('${pkgs.enchant1}/lib/' + e_path)|";
in ''
sed -i "${path_hack_script}" enchant/_enchant.py