Skip to content

Commit

Permalink
backblaze-b2: add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
corngood committed Mar 28, 2024
1 parent 837bbcc commit 320e417
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/tools/backblaze-b2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, installShellFiles
, testers
, backblaze-b2
, nix-update-script
# executable is renamed to backblaze-b2 by default, to avoid collision with boost's 'b2'
, execName ? "backblaze-b2"
}:
Expand Down Expand Up @@ -73,6 +74,8 @@ python3Packages.buildPythonApplication rec {
--zsh <(${python3Packages.argcomplete}/bin/register-python-argcomplete ${execName})
'';

passthru.updateScript = nix-update-script { };

passthru.tests.version = (testers.testVersion {
package = backblaze-b2;
command = "${execName} version --short";
Expand Down

0 comments on commit 320e417

Please sign in to comment.