mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
proxmox-backup-client: add passthru.tests.version
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
5d511d1a1b
commit
80e58241b3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user