Merge pull request #112529 from evenbrenden/retext-remove-overrides

retext: remove markdown and chardet overrides
This commit is contained in:
Sandro 2021-02-10 09:13:25 +01:00 committed by GitHub
commit e5d4513a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,30 +6,10 @@
let let
version = "7.0.4"; version = "7.0.4";
python = let pythonEnv = python3.withPackages (ps: with ps; [
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; [
pyqt5 docutils pyenchant Markups markdown pygments chardet pyqt5 docutils pyenchant Markups markdown pygments chardet
]); ]);
in python.pkgs.buildPythonApplication { in python3.pkgs.buildPythonApplication {
inherit version; inherit version;
pname = "retext"; pname = "retext";