retext: remove markdown and chardet overrides

python-markdown 3.0.1 breaks the build, latest (3.2.2) works fine.

No need to pin chardet, latest (3.0.4) works fine.
This commit is contained in:
Even Brenden 2021-02-09 16:28:24 +01:00
parent 24eb3f87fc
commit f035e41219

View File

@ -6,30 +6,10 @@
let
version = "7.0.4";
python = let
packageOverrides = self: super: {
markdown = super.markdown.overridePythonAttrs(old: {
src = super.fetchPypi {
version = "3.0.1";
pname = "Markdown";
sha256 = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c";
};
});
chardet = super.chardet.overridePythonAttrs(old: {
src = super.fetchPypi {
version = "2.3.0";
pname = "chardet";
sha256 = "e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa";
};
patches = [];
});
};
in python3.override { inherit packageOverrides; };
pythonEnv = python.withPackages (ps: with ps; [
pythonEnv = python3.withPackages (ps: with ps; [
pyqt5 docutils pyenchant Markups markdown pygments chardet
]);
in python.pkgs.buildPythonApplication {
in python3.pkgs.buildPythonApplication {
inherit version;
pname = "retext";