Merge pull request #145427 from thiagokokada/update-calibre

calibre: 5.30.0 -> 5.31.1

authored by

Anderson Torres and committed by
GitHub
3eb0440e 860795fd

+6 -7
+6 -7
pkgs/applications/misc/calibre/default.nix
··· 27 28 mkDerivation rec { 29 pname = "calibre"; 30 - version = "5.30.0"; 31 32 src = fetchurl { 33 url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz"; 34 - sha256 = "058dqqxhc3pl4is1idlnc3pz80k4r681d5aj4a26v9acp8j7zy4f"; 35 }; 36 37 - # https://sources.debian.org/patches/calibre/5.30.0+dfsg-1 38 patches = [ 39 # allow for plugin update check, but no calibre version check 40 (fetchpatch { 41 - name = "0001_only_plugin_update.patch"; 42 - url = 43 - "https://sources.debian.org/data/main/c/calibre/${version}%2Bdfsg-1/debian/patches/0001-only-plugin-update.patch"; 44 - sha256 = "sha256-aGT8rJ/eQKAkmyHBWdY0ouZuWvDwtLVJU5xY6d3hY3k="; 45 }) 46 ] 47 ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
··· 27 28 mkDerivation rec { 29 pname = "calibre"; 30 + version = "5.31.1"; 31 32 src = fetchurl { 33 url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz"; 34 + sha256 = "sha256-3LGEWuHms54ji9GWSyLl8cFWIRBqHY1Jf/CNPJOywrU="; 35 }; 36 37 + # https://sources.debian.org/patches/calibre/5.31.1+dfsg-1 38 patches = [ 39 # allow for plugin update check, but no calibre version check 40 (fetchpatch { 41 + name = "0001-only-plugin-update.patch"; 42 + url = "https://raw.githubusercontent.com/debian-calibre/calibre/debian/${version}%2Bdfsg-1/debian/patches/0001-only-plugin-update.patch"; 43 + sha256 = "sha256-dLzO1TWP7Q4nw2a3oN7qlhGCmcA0NKJrZidUnD6hUMA="; 44 }) 45 ] 46 ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;