Skip to content

Commit

Permalink
calibre: use bundled html5lib
Browse files Browse the repository at this point in the history
The bundled html5lib may be old and insecure, but that's all upstream
supports. Since dependencies are now requiring a newer html5lib we have
no choice but to let it use the bundled version.
  • Loading branch information
FRidh committed Jul 7, 2017
1 parent bdabf6a commit ff5423c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
}:

stdenv.mkDerivation rec {
version = "3.1.1";
version = "3.3.0";
name = "calibre-${version}";

src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${name}.tar.xz";
sha256 = "1lh1gz0915r49igfhy1icz79qx36s3d8m32qlih0g3zn7jahp86g";
sha256 = "1zq3aihnyxdczdz8b0w02xfw4b0l9i23f6ljpmsmm69jyh4j3m0c";
};

patches = [
Expand All @@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
# Remove unneeded files and libs
rm -rf resources/calibre-portable.* \
src/{chardet,cherrypy,html5lib,odf,routes}
src/{chardet,cherrypy,odf,routes}
'';

dontUseQmakeConfigure = true;
Expand All @@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
python pyqt5 sip
regex msgpack
# the following are distributed with calibre, but we use upstream instead
chardet cherrypy html5lib_0_9999999 odfpy routes
chardet cherrypy odfpy routes
]);

installPhase = ''
Expand Down

0 comments on commit ff5423c

Please sign in to comment.