typst: add passthru.updateScript

This commit is contained in:
Gabriel Fontes 2024-05-17 14:05:06 -03:00
parent d769131c27
commit a73f616769
No known key found for this signature in database
GPG Key ID: 2E54EA7BFE630916

View File

@ -7,6 +7,7 @@
, xz , xz
, stdenv , stdenv
, darwin , darwin
, nix-update-script
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -53,6 +54,8 @@ rustPlatform.buildRustPackage rec {
--zsh crates/typst-cli/artifacts/_typst --zsh crates/typst-cli/artifacts/_typst
''; '';
passthru.updateScript = nix-update-script { };
meta = { meta = {
changelog = "https://github.com/typst/typst/releases/tag/${src.rev}"; changelog = "https://github.com/typst/typst/releases/tag/${src.rev}";
description = "A new markup-based typesetting system that is powerful and easy to learn"; description = "A new markup-based typesetting system that is powerful and easy to learn";