about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorEven Brenden <evenbrenden@gmail.com>2021-02-09 16:28:24 +0100
committerEven Brenden <evenbrenden@gmail.com>2021-02-09 16:36:26 +0100
commitf035e412196deabf60e06125fc96d70cb95f9877 (patch)
tree332af808684d59065bd26e27c46390085774bd51 /pkgs/applications/editors
parent24eb3f87fc610f18de7076aee7c5a84ac5591e3e (diff)
downloadnixlib-f035e412196deabf60e06125fc96d70cb95f9877.tar
nixlib-f035e412196deabf60e06125fc96d70cb95f9877.tar.gz
nixlib-f035e412196deabf60e06125fc96d70cb95f9877.tar.bz2
nixlib-f035e412196deabf60e06125fc96d70cb95f9877.tar.lz
nixlib-f035e412196deabf60e06125fc96d70cb95f9877.tar.xz
nixlib-f035e412196deabf60e06125fc96d70cb95f9877.tar.zst
nixlib-f035e412196deabf60e06125fc96d70cb95f9877.zip
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.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/retext/default.nix24
1 files 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";