pizauth: add updateScript

This commit is contained in:
Moraxyc 2025-02-17 10:59:50 +08:00
parent 6d010bc353
commit 1f952cc136
No known key found for this signature in database

View file

@ -3,6 +3,7 @@
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
installShellFiles, installShellFiles,
nix-update-script,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -26,6 +27,8 @@ rustPlatform.buildRustPackage rec {
--bash share/bash/completion.bash --bash share/bash/completion.bash
''; '';
passthru.updateScript = nix-update-script { };
meta = { meta = {
description = "Command-line OAuth2 authentication daemon"; description = "Command-line OAuth2 authentication daemon";
homepage = "https://github.com/ltratt/pizauth"; homepage = "https://github.com/ltratt/pizauth";