mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
unbook: add git updater
This commit is contained in:
parent
3c5896e3bf
commit
97e08eb079
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user