calibre: Pin zeroconf dependency to 0.31

This prevents https://bugs.launchpad.net/calibre/+bug/1936889 which has
been patched [1] in calibre master but not yet released.

[1]: 4f9e83e642
This commit is contained in:
Mukund Lakshman 2021-07-25 14:08:30 +01:00
parent 52196d21ec
commit 35ce59b03b

View file

@ -1,6 +1,7 @@
{ lib
, mkDerivation
, fetchurl
, fetchFromGitHub
, poppler_utils
, pkg-config
, libpng
@ -94,7 +95,15 @@ mkDerivation rec {
python
regex
sip
zeroconf
(zeroconf.overrideAttrs (oldAttrs: rec {
version = "0.31.0";
src = fetchFromGitHub {
owner = "jstasiak";
repo = "python-zeroconf";
rev = version;
sha256 = "158dqay74zvnz6kmpvip4ml0kw59nf2aaajwgaamx0zc8ci1p5pj";
};
}))
# the following are distributed with calibre, but we use upstream instead
odfpy
] ++ lib.optional (unrarSupport) unrardll