proxmox-backup-client: add passthru.tests.version

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-06-30 16:08:25 +02:00
parent 5d511d1a1b
commit 80e58241b3
No known key found for this signature in database
GPG key ID: 6817E9C75C0785D7

View file

@ -1,6 +1,19 @@
{
lib, fetchgit, rustPlatform, pkg-config, openssl, fuse3, libuuid,
acl, libxcrypt, git, installShellFiles, sphinx, stdenv, fetchpatch
{ lib,
fetchgit,
rustPlatform,
pkg-config,
openssl,
fuse3,
libuuid,
acl,
libxcrypt,
git,
installShellFiles,
sphinx,
stdenv,
fetchpatch,
testers,
proxmox-backup-client,
}:
rustPlatform.buildRustPackage rec {
@ -92,6 +105,11 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ git pkg-config rustPlatform.bindgenHook installShellFiles sphinx ];
buildInputs = [ openssl fuse3 libuuid acl libxcrypt ];
passthru.tests.version = testers.testVersion {
package = proxmox-backup-client;
command = "${pname} version";
};
meta = with lib; {
description = "The command line client for Proxmox Backup Server";
homepage = "https://pbs.proxmox.com/docs/backup-client.html";