anchor.diff:    name = "calibre-${version}";
   
     src = fetchurl {
  -    url = "http://download.calibre-ebook.com/${version}/${name}.tar.xz";
  +    url = "https://download.calibre-ebook.com/${version}/${name}.tar.xz";
       sha256 = "0npqvfjqj1vwa7nmnsyd4d30z40brydw275ldf1jankrp6dr9dyd";
     };
   
  
positive.code:       wrapProgram $a --prefix PYTHONPATH : $PYTHONPATH \
                       --prefix PATH : ${poppler_utils.out}/bin
      done
    '';
  
    meta = with stdenv.lib; {
      description = "Comprehensive e-book software";
      homepage = http://calibre-ebook.com;
      license = with licenses; if unrarSupport then unfreeRedistributable else gpl3;
      maintainers = with maintainers; [ viric domenkozar pSub AndersonTorres ];
      platforms = platforms.linux;
  
negative.code: { stdenv, fetchurl, python, pyqt5, sip_4_16, poppler_utils, pkgconfig, libpng
  , imagemagick, libjpeg, fontconfig, podofo, qtbase, qmakeHook, icu, sqlite
  , makeWrapper, unrarSupport ? false, chmlib, pythonPackages, xz, libusb1, libmtp
  , xdg_utils, makeDesktopItem
  }:
  
  stdenv.mkDerivation rec {
  