Skip to content

Commit b5ff921

Browse files
authored
calibre: add update script; 8.2.100 -> 8.4.0 (#398957)
2 parents b367cc4 + 5338f03 commit b5ff921

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pkgs/by-name/ca/calibre/package.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
libuchardet,
1818
libusb1,
1919
libwebp,
20+
nix-update-script,
2021
optipng,
2122
piper-tts,
2223
pkg-config,
@@ -35,11 +36,11 @@
3536

3637
stdenv.mkDerivation (finalAttrs: {
3738
pname = "calibre";
38-
version = "8.2.100";
39+
version = "8.4.0";
3940

4041
src = fetchurl {
4142
url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz";
42-
hash = "sha256-lUHnaorIUwoac1YgYimxF8KTJOPSUiJg5BKC+hFy0lc=";
43+
hash = "sha256-5uexcItbBgO2Tv52clS0N+IhplqpKwq43p2yqSxANek=";
4344
};
4445

4546
patches = [
@@ -228,6 +229,10 @@ stdenv.mkDerivation (finalAttrs: {
228229
runHook postInstallCheck
229230
'';
230231

232+
passthru.updateScript = nix-update-script {
233+
extraArgs = [ "--url=https://github.com/kovidgoyal/calibre" ];
234+
};
235+
231236
meta = {
232237
homepage = "https://calibre-ebook.com";
233238
description = "Comprehensive e-book software";

0 commit comments

Comments
 (0)