calibre: add update script; 8.2.100 -> 8.4.0 (#398957)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
libuchardet,
|
||||
libusb1,
|
||||
libwebp,
|
||||
nix-update-script,
|
||||
optipng,
|
||||
piper-tts,
|
||||
pkg-config,
|
||||
@@ -35,11 +36,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "calibre";
|
||||
version = "8.2.100";
|
||||
version = "8.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-lUHnaorIUwoac1YgYimxF8KTJOPSUiJg5BKC+hFy0lc=";
|
||||
hash = "sha256-5uexcItbBgO2Tv52clS0N+IhplqpKwq43p2yqSxANek=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -228,6 +229,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--url=https://github.com/kovidgoyal/calibre" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://calibre-ebook.com";
|
||||
description = "Comprehensive e-book software";
|
||||
|
||||
Reference in New Issue
Block a user