unbook: add git updater

This commit is contained in:
Jared Baur 2024-09-13 21:13:52 -07:00
parent 3c5896e3bf
commit 97e08eb079
No known key found for this signature in database

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
makeWrapper,
calibre,
gitUpdater,
}:
rustPlatform.buildRustPackage rec {
@ -25,6 +26,8 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/unbook --prefix PATH : ${lib.makeBinPath [ calibre ]}
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Ebook to self-contained-HTML converter";
homepage = "https://unbook.ludios.org";