nixpkgs/pkgs/applications/misc/calibre/dont_build_unrar_plugin.patch
2018-12-25 09:08:09 +00:00

13 lines
534 B
Diff

diff --git a/src/calibre/ebooks/metadata/archive.py b/src/calibre/ebooks/metadata/archive.py
index 938ab24..1e095f8 100644
--- a/src/calibre/ebooks/metadata/archive.py
+++ b/src/calibre/ebooks/metadata/archive.py
@@ -44,7 +44,7 @@
description = _('Extract common e-book formats from archive files '
'(ZIP/RAR). Also try to autodetect if they are actually '
'CBZ/CBR files.')
- file_types = {'zip', 'rar'}
+ file_types = {'zip'}
supported_platforms = ['windows', 'osx', 'linux']
on_import = True