From 58901b138946c4d8a5c967ee80f1d9eb2127e81c Mon Sep 17 00:00:00 2001 From: amesgen Date: Mon, 13 Feb 2023 23:03:42 +0100 Subject: [PATCH] radicle-cli: add version test --- .../applications/version-management/radicle-cli/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/version-management/radicle-cli/default.nix b/pkgs/applications/version-management/radicle-cli/default.nix index 06836a19b65d..213243f1851c 100644 --- a/pkgs/applications/version-management/radicle-cli/default.nix +++ b/pkgs/applications/version-management/radicle-cli/default.nix @@ -12,6 +12,8 @@ , AppKit , git , openssh +, testers +, radicle-cli }: rustPlatform.buildRustPackage rec { @@ -59,6 +61,10 @@ rustPlatform.buildRustPackage rec { eval $(ssh-agent) ''; + passthru.tests = { + version = testers.testVersion { package = radicle-cli; }; + }; + meta = { description = "Command-line tooling for Radicle, a decentralized code collaboration network"; homepage = "https://radicle.xyz";