From f035e412196deabf60e06125fc96d70cb95f9877 Mon Sep 17 00:00:00 2001 From: Even Brenden Date: Tue, 9 Feb 2021 16:28:24 +0100 Subject: [PATCH] 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. --- pkgs/applications/editors/retext/default.nix | 24 ++------------------ 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/pkgs/applications/editors/retext/default.nix b/pkgs/applications/editors/retext/default.nix index c32e83157561..8537cea3f58a 100644 --- a/pkgs/applications/editors/retext/default.nix +++ b/pkgs/applications/editors/retext/default.nix @@ -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";